Package com.mapr.client.impl.rpc
Class RpcServer
java.lang.Object
com.mapr.client.impl.rpc.RpcBinding
com.mapr.client.impl.rpc.RpcServer
- All Implemented Interfaces:
LifeCycle
Base class for all MapR RPC Servers
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final io.netty.bootstrap.ServerBootstrapprotected io.netty.channel.ChannelFields inherited from class com.mapr.client.impl.rpc.RpcBinding
epoch, mapRClient, nextCallId, nextConnId -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.mapr.client.impl.rpc.RpcBinding
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stop
-
Field Details
-
bootstrap
protected final io.netty.bootstrap.ServerBootstrap bootstrap -
channel
protected io.netty.channel.Channel channel
-
-
Constructor Details
-
RpcServer
-
-
Method Details
-
startBinding
protected void startBinding()- Specified by:
startBindingin classRpcBinding
-
stopBinding
protected void stopBinding()- Specified by:
stopBindingin classRpcBinding
-
getPort
public int getPort()
-