Title

Page 341

Design Patterns

structure, a s is described in the Client-Dispatcher-Server design pattern (323). See also

The Client-Dispatcher-Seroer design pattern (323) provides transparent inter-process communication for software systems in which the distribution of components is not known a t compile-time. or may vary dynamically at run-time. You can apply this pattern in combination with the Forwarder-Receiver design pattern a s described below. The Client-Dispatcher-Server design pattern may be instantiated in such a way that the forwarder acts as the client and the receiver acts as the server. When a peer asks its forwarder to send a message, the forwarder causes the dispatcher to map the recipient's name to its physical location and to establish a communication channel with the remote receiver. Such an arrangement allows peers to migrate to other locations at run-time by unregistering and then re-registering with the dispatcher.


Issuu converts static files into: digital portfolios, online yearbooks, online catalogs, digital photo albums and more. Sign up and create your flipbook.