Notes on RPCs

A Remote Procedure Call appears to the user like a call to a function on the local machine.

Function parameters are marshalled into a communications packet and sent to the server which calls the appropriate function with the data provided.

rpc.gif (2791 bytes)

Parameter types

Input

Output

Environment

 

Exception handling - what does the communication stub do if the first effort to send a msg fails?

Binding of server location

goals

methods

Asynchronous RPC

Asynchronous RPC without reply - stub returns to caller after sending message

Asynchronous RPC with reply

X- windows uses Asynchronous RPC