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 com.google.protobuf.BlockingService |
service |
private Class<?> |
serviceInterface |
Constructor and Description |
---|
RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service,
Class<?> serviceInterface) |
private final com.google.protobuf.BlockingService service
private final Class<?> serviceInterface
public RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service, Class<?> serviceInterface)
public Class<?> getServiceInterface()
public com.google.protobuf.BlockingService getBlockingService()
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.