OSF DCE Application Development Guide--Core Components
Developing a Simple RPC Application
TABLE 11-1. Basic Tasks of an RPC Application
__________________________________________________________________
Client Tasks Server Tasks
__________________________________________________________________
__________________________________________________________________
1. Select network protocols.
2. Register RPC interfaces.
Register endpoints in endpoint
map.
3.
Advertise RPC interfaces and
objects in the namespace.
4.
5. Listen for calls.
Find compatible servers that
offer the procedures.
6.
7. Call the remote procedure.
Establish a binding with the
server.
8.
Convert input arguments
into network data.
9.
Transmit arguments to the
server’s runtime.
10.
11. Receive a call.
Disassemble network data and
convert input arguments into
local data.
12.
Locate and invoke the called
procedure.
13.
14. Execute the remote procedure.
Convert the output arguments
and return value into network
data.
15.
Transmit results to the client’s
runtime.
16.
17. Receive results.
Disassemble network data
and convert output
arguments into local data.
18.
Return results and control to
calling code.
19.
__________________________________________________________________
124245 Tandem Computers Incorporated 11−3