public abstract class RpcClient extends RpcBinding
| Modifier and Type | Field and Description |
|---|---|
protected RpcConnection |
connection |
protected ServiceHosts |
serviceHosts |
epoch, mapRClient, nextCallId, nextConnId| Modifier | Constructor and Description |
|---|---|
protected |
RpcClient(MapRClient maprClient,
ServiceHosts serviceHosts,
boolean isSecure) |
| Modifier and Type | Method and Description |
|---|---|
com.stumbleupon.async.Deferred<? extends java.lang.Object> |
sendRequest(RpcMessage msg) |
void |
startBinding() |
protected com.stumbleupon.async.Deferred<java.lang.Object> |
startClient() |
protected void |
stopBinding() |
protected com.stumbleupon.async.Deferred<java.lang.Object> |
stopClient() |
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stopprotected final ServiceHosts serviceHosts
protected RpcConnection connection
protected RpcClient(MapRClient maprClient, ServiceHosts serviceHosts, boolean isSecure)
public final void startBinding()
startBinding in class RpcBindingprotected void stopBinding()
stopBinding in class RpcBindingprotected com.stumbleupon.async.Deferred<java.lang.Object> startClient()
protected com.stumbleupon.async.Deferred<java.lang.Object> stopClient()
public com.stumbleupon.async.Deferred<? extends java.lang.Object> sendRequest(RpcMessage msg)