OSF DCE Application Development Guide--Core Components
OSF DCE Application Development Guide—Core Components
__________________________________________________________________
Client Tasks Server Tasks
__________________________________________________________________
__________________________________________________________________
Get code set tags sent from the
client.
18.
Calculate the buffer size for
possible conversion of input
arguments from network to
local code set.
19.
20. Unmarshall input arguments.
Convert input arguments from a
network to a local code set (if
necessary).
21.
Locate and invoke the called
procedure.
22.
23. Execute the remote procedure
Calculate the buffer size for
possible conversion of output
arguments from a local to
network code set
24.
Convert output arguments from
a local to a network code set (if
necessary).
25.
Marshall output arguments and
return value.
26.
Transmit results to the client’s
runtime.
27.
Remove code set information
from namespace on exit.
28.
29. Receive results.
Calculate the buffer size for
possible conversion of output
arguments from a network to
a local code set.
30.
31. Unmarshall output arguments.
Convert output arguments
from a network to a local
code set (if necessary).
32.
Pass to the calling code the
results and return control to it.
33.
__________________________________________________________________
As illustrated in the table, the internationalized RPC execution model consists of the
following new steps:
1. Both client and server invoke a platform-dependent function to set their locale
during initialization. This step establishes the client’s and the server’s local
character and code set; that is, the character and code set currently in use by
15 − 4 Tandem Computers Incorporated 124245