Submitted Arcoroc, Oct 26 2003 09:33 AM | Last updated Oct 26 2003 09:33 AM
The Proxy pattern is meant to provide a surrogate or placeholder for another object to control access to it.
There are different kinds of proxies:
- Remote Proxies are responsible for encoding a request and its arguments and for sending the encoded request to the real subject in a different address space.
- Virtual Proxies may cache additional information about the real subject so that they can postpone accessing it.
- Protection Proxies check that the caller has the access permissions required to perform a request.