| Modifier and Type | Field and Description |
|---|---|
static int |
MAXIMUM_TCP_PORT_NUMBER |
| Constructor and Description |
|---|
RpcClientImpl(int capacity) |
RpcClientImpl(int capacity,
MethodSignatureResolver resolver) |
| Modifier and Type | Method and Description |
|---|---|
RpcClient |
addInterface(Class serviceDefinition) |
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) |
void |
setChannel(org.jboss.netty.channel.Channel channel) |
RpcClient |
start() |
void |
start(org.jboss.netty.channel.Channel channel,
ChannelShutdownCleaner channelCleanupRunnable) |
void |
stop() |
public static final int MAXIMUM_TCP_PORT_NUMBER
public RpcClientImpl(int capacity)
public RpcClientImpl(int capacity,
MethodSignatureResolver resolver)
public void returnCall(RemoteExecutionContext dc, com.google.protobuf.Message message)
returnCall in interface RpcClientpublic void setChannel(org.jboss.netty.channel.Channel channel)
public void start(org.jboss.netty.channel.Channel channel,
ChannelShutdownCleaner channelCleanupRunnable)
public com.google.protobuf.RpcChannel newClientRpcChannel()
newClientRpcChannel in interface RpcClientpublic com.google.protobuf.RpcController newController()
newController in interface RpcClientpublic void failInvocation(long rpcIndex,
String errorMessage)
failInvocation in interface RpcClientpublic void cancelInvocation(long rpcIndex)
cancelInvocation in interface RpcClientpublic RpcClient addInvocationListener(RpcClientSideInvocationListener listener)
addInvocationListener in interface RpcClientpublic MethodSignatureResolver getResolver()
getResolver in interface RpcClientpublic RpcClient addProtobuferRpcInterface(Object instance)
addProtobuferRpcInterface in interface RpcClientpublic RpcClient addInterface(Class serviceDefinition)
addInterface in interface RpcClientCopyright © 2013. All Rights Reserved.