Public Member Functions | |
| Message | callBlockingMethod (Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype) throws ServiceException |
Abstract interface for a blocking RPC channel.
is the blocking equivalent to RpcChannel.
Definition at line 40 of file BlockingRpcChannel.java.
| Message com.google.protobuf.BlockingRpcChannel.callBlockingMethod | ( | Descriptors.MethodDescriptor | method, |
| RpcController | controller, | ||
| Message | request, | ||
| Message | responsePrototype | ||
| ) | throws ServiceException |
Call the given method of the remote service and blocks until it returns.
is the blocking equivalent to RpcChannel#callMethod.