To avoid the overhead associated with using a table, the application could encode the list of items in some string format and have the procedure decode the string to extract the items.
The purpose of the stub is to package the arguments to the remote procedure, possibly put them into a standard format, and then build one or more network messages.
存根的目的是将参数打包到远程过程中,可能将这些参数放入标准模式中,然后构建一个或多个网络消息。
3
The Extensible-Markup-Language/Remote Procedure Call protocol (XML/RPC) marshals procedure calls over HTTP in an XML format.