Introduction to OOP | Chapter 24: Design Patterns : | next | previous | audio | real | text |
Solution: A proxy uses the interface that the client expects, but passes messages over the network to the server, gets back the response, and passes it to the client. The client is therefore hidden from the network details.
Similar in some ways to adaptor, but here the intermediary and the server can have the same interface.