protected void RemoteCall(string remoteNode, string service, string method, byte[] param, SSContext context, RPCCallback cb) { ClusterClientRequest request = new ClusterClientRequest(); request.remoteNode = remoteNode; request.remoteService = service; request.method = method; request.param = Convert.ToBase64String(param); Call("clusterClient", "Request", request.encode(), context, cb); }
protected void RemoteSend(string remoteNode, string service, string method, byte[] param) { ClusterClientRequest request = new ClusterClientRequest(); request.remoteNode = remoteNode; request.remoteService = service; request.method = method; request.param = Convert.ToBase64String(param); Call("clusterClient", "Request", request.encode(), null, RemoteSendDummyCallback); }