org.apache.hadoop.hbase.ipc
Class RpcServer.BlockingServiceAndInterface

java.lang.Object
  extended by 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.


Constructor Summary
RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service, Class<?> serviceInterface)
           
 
Method Summary
 com.google.protobuf.BlockingService getBlockingService()
           
 Class<?> getServiceInterface()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RpcServer.BlockingServiceAndInterface

public RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service,
                                             Class<?> serviceInterface)
Method Detail

getServiceInterface

public Class<?> getServiceInterface()

getBlockingService

public com.google.protobuf.BlockingService getBlockingService()


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.