Representation.<\/strong><\/p>Client Agent: Encapsulates the request and sends it to the server.<\/p>
Server Proxy: receives the request, unpacks it and invokes the local procedure, after which it returns the result to the client proxy.<\/p>
\u00a0<\/p>
Communication mechanisms.<\/strong><\/p>Transport Protocol: The protocol used by the underlying layer, e.g. TCP, UDP.<\/p>
Data Serialization: Converting data structures or objects into a format that can be transmitted, such as JSON, XML, Protocol Buffers.<\/p>
\u00a0<\/p>
RPC Workflow.<\/strong><\/p>- Client calls local proxy method: the client calls a method that appears to be local, but is actually handled by the client proxy;<\/li>
- Client agent serialization request: packages information such as method names, parameters, etc. into a message;<\/li>
- Message Transfer: The client agent transfers the message over the network to the server;<\/li>
- Server proxy unpacking request: after receiving the message, the server proxy unpacks the message and calls the actual local method;<\/li>
- Execute method and generate response: After the local method is executed, generate the response result;<\/li>
- Server agent packages the response: the server agent packages the result into a message and sends it back to the client over the network;<\/li>
- Client Agent Unpacking Response: After receiving the response message, the client agent unpacks it and returns the result to the client.<\/li><\/ul>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t