org.apache.hadoop.hbase.ipc
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RpcServer.BlockingServiceAndInterface
public RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service,
Class<?> serviceInterface)
getServiceInterface
public Class<?> getServiceInterface()
getBlockingService
public com.google.protobuf.BlockingService getBlockingService()
Copyright © 2007–2016 The Apache Software Foundation. All rights reserved.