Proxy

xiaoxiao2021-03-06  63

Benefits: • The Remote Proxy Can Shield The Fact That The Implementation Resides in Another Address Space. • The Virtual Proxy CAN Perform Optimizations-for Example, by Creating Objects on Demand.

Applicable Scenario: • The Proxy Pattern Is Appropriate WHEN A More Versatile or Sophistated Reference To An Object, Rather Than A Simple Pointer, IS NEEDED.

转载请注明原文地址:https://www.9cbs.com/read-119060.html

New Post(0)