RPC messages

There are two types of messages involved in the implementation of an RPC system, which are as follows :
Call Message – This message is sent by the client to the server for requesting execution of a particular remote procedure. The two basic components necessary in a call message are as follows :
·         The arguments necessary for the execution of the procedure.
·         The identification information of remote procedure to be executed.
In addition to this, a call message normally has following fields :
·         A message type field – to distinguish call messages from reply messages.
·         A client identification field – to permit server to check the authentication of client process for executing the concerned procedure.
·         A message identification field – consists of sequence numbers to identify duplicates.

                                  RPC Call Message Format
Reply Message – If the RPC server receives a call message from client,it could be faced with one of the following conditions.
·         The specified remote procedure is executed successfully.
·         An exception condition occurs while executing the specified remote procedure.
·         The server finds that the call message is not intelligible to it.
·         The server detects by scanning the clients identifier field that the client is not authorized to use the service.
·        The server finds that the remote program, version or procedure number is not available with it.

                         “A Successful Reply Message Format ”

                        “A Unsuccessful Reply Message Format”

More topics from Distributed System to read:


EasyExamNotes.com covered following topics in these notes.

Post a Comment

Please write comments if you find anything incorrect, or you want to share more information about the topic discussed above.