RpcClient

Undocumented in source.

Constructors

this
this(ClientSocketEventInterface socketEvent)
Undocumented in source.

Members

Functions

bind
void bind(string className, string funcName)
Undocumented in source. Be warned that the author may not have intended to support it.
bindCallback
void bindCallback(size_t funcId, ReponsCallback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
connect
void connect(string ip, ushort port, AsynchronousChannelSelector sel)
Undocumented in source. Be warned that the author may not have intended to support it.
getFd
int getFd()
Undocumented in source. Be warned that the author may not have intended to support it.
getWaitResponseNum
ulong getWaitResponseNum()
Undocumented in source. Be warned that the author may not have intended to support it.
reConnect
void reConnect()
Undocumented in source. Be warned that the author may not have intended to support it.
requestRemoteCall
bool requestRemoteCall(RpcRequest req, RPC_PACKAGE_PROTOCOL protocol)
Undocumented in source. Be warned that the author may not have intended to support it.
rpcRecvPackageEvent
void rpcRecvPackageEvent(RpcSocketBaseInterface socket, RpcBinaryPackage pack)
Undocumented in source. Be warned that the author may not have intended to support it.
rpcSendPackageEvent
void rpcSendPackageEvent(RpcResponse rpcResp)
Undocumented in source. Be warned that the author may not have intended to support it.
setSocketCompress
void setSocketCompress(RPC_PACKAGE_COMPRESS_TYPE type)
Undocumented in source. Be warned that the author may not have intended to support it.
socketEvent
void socketEvent(RpcSocketBaseInterface socket, SOCKET_STATUS status, string statusStr)
Undocumented in source. Be warned that the author may not have intended to support it.
write
bool write(byte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From RpcEventInterface

rpcRecvPackageEvent
void rpcRecvPackageEvent(RpcSocketBaseInterface socket, RpcBinaryPackage recvPackage)
Undocumented in source.
rpcSendPackageEvent
void rpcSendPackageEvent(RpcResponse resp)
Undocumented in source.
socketEvent
void socketEvent(RpcSocketBaseInterface socket, SOCKET_STATUS status, string statusStr)
Undocumented in source.

Meta