09-09-2017, 01:11 PM
Remote Procedure Call (RPC) provides a different paradigm for accessing network services. Instead of accessing remote services by sending and receiving messages, a client invokes services by performing a local procedure call. The local procedure hides the details of the network communication.
When making a remote procedure call:
1. The call environment is suspended, the procedure parameters are transferred through the network to the environment where the procedure is to be executed and the procedure is executed there.
2. When the procedure finishes and produces its results, its results are transferred back to the calling environment, where the execution resumes as if returning from a normal procedure call.
When making a remote procedure call:
1. The call environment is suspended, the procedure parameters are transferred through the network to the environment where the procedure is to be executed and the procedure is executed there.
2. When the procedure finishes and produces its results, its results are transferred back to the calling environment, where the execution resumes as if returning from a normal procedure call.