Batch version for addProxy.
list of proxy description record
Add a new proxy to the rpc client which would overrid the proxy under the same key.
proxy description record, format: {namespace, serverType, path}
Add new remote server to the rpc client.
new server information
Batch version for add new remote server.
server info list
Add rpc filter.
rpc filter function.
Remove remote server from the rpc client.
server id
Batch version for remove remote server.
remote server id list
Replace remote servers.
server info list
Do the rpc invoke directly.
remote server id
rpc message. Message format: {serverType: serverType, service: serviceName, method: methodName, args: arguments}
cb(err, ...)
Set rpc filter error handler.
rpc filter error handler function.
Start the rpc client which would try to connect the remote servers and report the result by cb.
cb(err)
Stop the rpc client.
RPC Client Class