A simple remote procedure call setup consists of:
Using a two-step process of dispatching--where a dispatcher calls a separate implementation object--keeps the dispatcher implementation class independent of remote processing; the member functions do not need to know that they are being called remotely.
While the interaction of a caller-dispatcher pair uses the client-server model, callers and dispatchers do not always correspond exactly to clients and servers. In general, clients and servers are more complex than a single caller-dispatcher pair. A client often has multiple callers, and a server might have one or more dispatchers. Also, a server usually has more structure than a dispatcher, encompassing a tasking model, the transport mechanism, and resources that the server manages.
You can use callers and dispatchers as building blocks out of which you create clients and servers. As Figure 6
[Contents]
[Previous]
[Next]
Click the icon to mail questions or corrections about this material to Taligent personnel.
Generated with WebMaker