Class RpcServer.BlockingServiceAndInterface

java.lang.Object
org.apache.hadoop.hbase.ipc.RpcServer.BlockingServiceAndInterface
Enclosing class:
RpcServer

public static class RpcServer.BlockingServiceAndInterface extends Object
Datastructure for passing a BlockingService and its associated class of protobuf service interface. For example, a server that fielded what is defined in the client protobuf service would pass in an implementation of the client blocking service and then its ClientService.BlockingInterface.class. Used checking connection setup.
  • Field Details

    • service

      private final org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service
    • serviceInterface

      private final Class<?> serviceInterface
  • Constructor Details

    • BlockingServiceAndInterface

      public BlockingServiceAndInterface(org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, Class<?> serviceInterface)
  • Method Details