rpcclient

Undocumented in source.

Members

Classes

ImplIfToRpc
class ImplIfToRpc(I, int TimeoutMs)

Auto Implement method for a given interface.

ThrdRPCTcpClient
class ThrdRPCTcpClient(I, int T)

Thread RPC client

ThrdRPClient
class ThrdRPClient(I, int T)

Thread RPC client

Functions

_mixinSingleFunc
string _mixinSingleFunc(MethodInfo info, string rpcSendReqFuncname, int timeout)

mixin a single method, seprate this makes code a bit more clear rpcSendReqFuncname is: string funcname (string req, int timeout);

getJsonRPCID
long getJsonRPCID()
Undocumented in source. Be warned that the author may not have intended to support it.
mixinFuncStr
string[] mixinFuncStr(string ifModuleName, MethodInfo[] ifInfos, string rpcSendReqFuncname, int timeout)

mixin method body using Interface meta-info.

Static variables

_rpc_id
long _rpc_id;

TODO _rpc_id should be mutex protected.

Meta