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 Details

    • bootstrap

      protected final io.netty.bootstrap.ServerBootstrap bootstrap
    • channel

      protected io.netty.channel.Channel channel
  • Constructor Details

    • RpcServer

      protected RpcServer(MapRClient maprClient, int port)
  • Method Details

    • startBinding

      protected void startBinding()
      Specified by:
      startBinding in class RpcBinding
    • stopBinding

      protected void stopBinding()
      Specified by:
      stopBinding in class RpcBinding
    • getPort

      public int getPort()