public interface RpcClientController
extends com.google.protobuf.RpcController
| Modifier and Type | Method and Description |
|---|---|
void |
bindToInvocation(RpcClientSideInvocation invocation)
Bind the controller to a record keeping track of the client side
of an RPC invocation.
|
long |
getIndex()
The index of the invocation.
|
boolean |
isActive()
True if the controller is associated with an RPC invocation
that is still ongoing.
|
void |
setActive(boolean active)
Setting the value that is read by isActive.
|
void |
setClientAndIndex(RpcClientImpl rpcClient,
long rpcIndex)
Associate the client with a client and an index.
|
long getIndex()
boolean isActive()
void setActive(boolean active)
active - New value of active field.void bindToInvocation(RpcClientSideInvocation invocation)
invocation - The invocation that we want the
controller to be associated with.void setClientAndIndex(RpcClientImpl rpcClient, long rpcIndex)
rpcClient - The client associated witht this controller.rpcIndex - The index associated with this controller.Copyright © 2013. All Rights Reserved.