| Constructor and Description |
|---|
ConnectingRpcClientImpl(org.jboss.netty.bootstrap.ClientBootstrap clientBootstrap,
InetSocketAddress socketAddress) |
| Modifier and Type | Method and Description |
|---|---|
RpcClient |
addInterface(Class serviceInterface) |
RpcClient |
addInvocationListener(RpcClientSideInvocationListener listener) |
RpcClient |
addProtobuferRpcInterface(Object instance) |
void |
cancelInvocation(long rpcIndex) |
void |
failInvocation(long rpcIndex,
String errorMessage) |
MethodSignatureResolver |
getResolver() |
com.google.protobuf.RpcChannel |
newClientRpcChannel() |
com.google.protobuf.RpcController |
newController() |
void |
returnCall(RemoteExecutionContext dc,
com.google.protobuf.Message message) |
RpcClient |
start() |
void |
stop() |
public ConnectingRpcClientImpl(org.jboss.netty.bootstrap.ClientBootstrap clientBootstrap,
InetSocketAddress socketAddress)
public void cancelInvocation(long rpcIndex)
cancelInvocation in interface RpcClientpublic void failInvocation(long rpcIndex,
String errorMessage)
failInvocation in interface RpcClientpublic com.google.protobuf.RpcChannel newClientRpcChannel()
newClientRpcChannel in interface RpcClientpublic com.google.protobuf.RpcController newController()
newController in interface RpcClientpublic void returnCall(RemoteExecutionContext dc, com.google.protobuf.Message message)
returnCall in interface RpcClientpublic MethodSignatureResolver getResolver()
getResolver in interface RpcClientpublic RpcClient addProtobuferRpcInterface(Object instance)
addProtobuferRpcInterface in interface RpcClientpublic RpcClient addInterface(Class serviceInterface)
addInterface in interface RpcClientpublic RpcClient addInvocationListener(RpcClientSideInvocationListener listener)
addInvocationListener in interface RpcClientCopyright © 2013. All Rights Reserved.