OSF DCE Application Development Guide--Core Components

Writing Internationalized RPC Applications
15.2 Remote Procedure Call with Character/Code Set
Interoperability
Table 11-1 in Chapter 11 illustrates the basic tasks of an RPC application. Table 15-1
shows these basic tasks integrated with the additional tasks required to implement an
RPC that provides character and code set interoperability.
TABLE 15-1. Tasks of an Internationalized RPC Application
__________________________________________________________________
Client Tasks Server Tasks
__________________________________________________________________
__________________________________________________________________
1. Set locale.
2. Select network protocols.
3. Register RPC interfaces.
Advertise RPC interfaces and
objects in the namespace.
4.
Get supported code sets and
register them in the namespace.
5.
6. Listen for calls.
7. Set locale.
Establish a character and
code set evaluation routine.
8.
Find compatible servers that
offer the procedures.
9.
10. Call the remote procedure.
Establish a binding
relationship with the server.
11.
Get code set tags from the
binding handle.
12.
Calculate the buffer size for
possible conversion of input
arguments from a local to a
network code set.
13.
Convert input arguments from
a local to a network code set
(if necessary).
14.
15. Marshall input arguments
Transmit arguments to the
server’s runtime.
16.
17. Receive a call.
__________________________________________________________________
124245 Tandem Computers Incorporated 153