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
public class RpcServer extends RpcBinding
Base class for all MapR RPC Servers
-
-
Field Summary
Fields Modifier and Type Field Description protected io.netty.bootstrap.ServerBootstrapbootstrapprotected io.netty.channel.Channelchannel-
Fields inherited from class com.mapr.client.impl.rpc.RpcBinding
epoch, mapRClient, nextCallId, nextConnId
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedRpcServer(MapRClient maprClient, int port)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetPort()protected voidstartBinding()protected voidstopBinding()-
Methods inherited from class com.mapr.client.impl.rpc.RpcBinding
getClientEventLoopGroup, getMapRClient, isSecure, isStarted, nextCallId, nextConnId, start, stop
-
-
-
-
Constructor Detail
-
RpcServer
protected RpcServer(MapRClient maprClient, int port)
-
-
Method Detail
-
startBinding
protected void startBinding()
- Specified by:
startBindingin classRpcBinding
-
stopBinding
protected void stopBinding()
- Specified by:
stopBindingin classRpcBinding
-
getPort
public int getPort()
-
-