Package com.mapr.client.impl.rpc
Class RpcClient
java.lang.Object
com.mapr.client.impl.rpc.RpcBinding
com.mapr.client.impl.rpc.RpcClient
- All Implemented Interfaces:
LifeCycle
- Direct Known Subclasses:
CldbClient,MfsClient
Base class for all MapR RPC clients
-
Field Summary
FieldsFields inherited from class com.mapr.client.impl.rpc.RpcBinding
epoch, mapRClient, nextCallId, nextConnId -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedRpcClient(MapRClient maprClient, ServiceHosts serviceHosts, boolean isSecure) -
Method Summary
Modifier and TypeMethodDescriptioncom.stumbleupon.async.Deferred<? extends Object>sendRequest(RpcMessage msg) final voidprotected com.stumbleupon.async.Deferred<Object>protected voidprotected com.stumbleupon.async.Deferred<Object>Methods inherited from class com.mapr.client.impl.rpc.RpcBinding
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stop
-
Field Details
-
serviceHosts
-
connection
-
-
Constructor Details
-
RpcClient
-
-
Method Details
-
startBinding
public final void startBinding()- Specified by:
startBindingin classRpcBinding
-
stopBinding
protected void stopBinding()- Specified by:
stopBindingin classRpcBinding
-
startClient
-
stopClient
-
sendRequest
-