public interface BlockingRpcChannel
Abstract interface for a blocking RPC channel. BlockingRpcChannel
is the blocking equivalent to RpcChannel.
| Modifier and Type | Method and Description |
|---|---|
Message |
callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype)
Call the given method of the remote service and blocks until it returns.
|
Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) throws ServiceException
callBlockingMethod() is the blocking equivalent to
RpcChannel.callMethod(com.github.os72.protobuf351.Descriptors.MethodDescriptor, com.github.os72.protobuf351.RpcController, com.github.os72.protobuf351.Message, com.github.os72.protobuf351.Message, com.github.os72.protobuf351.RpcCallback<com.github.os72.protobuf351.Message>).ServiceExceptionCopyright © 2008–2018. All rights reserved.