You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Applicability:** Proxy is applicable whenever there is a need for a more versatile or sophisticated reference to an object than a simple pointer. here are several common situations in which the Proxy pattern is applicable
124
+
* a remote proxy provides a local representative for an object in a different address space.
125
+
* a virtual proxy creates expensive objects on demand.
126
+
* a protection proxy controls access to the original object. Protection proxies are useful when objects should have different access rights.
127
+
121
128
##Chain of responsibility
122
129
**Intent:** Avoid coupling the sender of a request to its receiver by giving more than one object a chance to handle the request. Chain the receiving objects and pass the request along the chain until an object handles it.
0 commit comments