Class RpcBinding

java.lang.Object
com.mapr.client.impl.rpc.RpcBinding
All Implemented Interfaces:
LifeCycle
Direct Known Subclasses:
RpcClient, RpcServer

public abstract class RpcBinding extends Object implements LifeCycle
  • Field Details

    • epoch

      protected int epoch
    • nextConnId

      protected final AtomicInteger nextConnId
    • nextCallId

      protected final AtomicInteger nextCallId
    • mapRClient

      protected final MapRClient mapRClient
  • Constructor Details

    • RpcBinding

      protected RpcBinding(MapRClient mapRClient)
  • Method Details

    • startBinding

      protected abstract void startBinding()
    • stopBinding

      protected abstract void stopBinding()
    • start

      public final com.stumbleupon.async.Deferred<Object> start()
      Specified by:
      start in interface LifeCycle
    • stop

      public com.stumbleupon.async.Deferred<Object> stop()
      Specified by:
      stop in interface LifeCycle
    • isStarted

      public boolean isStarted()
      Specified by:
      isStarted in interface LifeCycle
    • nextCallId

      public int nextCallId()
    • nextConnId

      public int nextConnId()
    • getClientEventLoopGroup

      public io.netty.channel.EventLoopGroup getClientEventLoopGroup()
    • isSecure

      public boolean isSecure()
    • getMapRClient

      public MapRClient getMapRClient()