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.Constructor and Description |
---|
RpcServer.BlockingServiceAndInterface(com.google.protobuf.BlockingService service,
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.