public static class RpcServer.BlockingServiceAndInterface extends Object
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.Modifier and Type | Field and Description |
---|---|
private org.apache.hbase.thirdparty.com.google.protobuf.BlockingService |
service |
private Class<?> |
serviceInterface |
Constructor and Description |
---|
BlockingServiceAndInterface(org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service,
Class<?> serviceInterface) |
Modifier and Type | Method and Description |
---|---|
org.apache.hbase.thirdparty.com.google.protobuf.BlockingService |
getBlockingService() |
Class<?> |
getServiceInterface() |
private final org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service
private final Class<?> serviceInterface
public BlockingServiceAndInterface(org.apache.hbase.thirdparty.com.google.protobuf.BlockingService service, Class<?> serviceInterface)
public Class<?> getServiceInterface()
public org.apache.hbase.thirdparty.com.google.protobuf.BlockingService getBlockingService()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.