Top Description Methods
com.google.protobuf

public Interface BlockingRpcChannel


Abstract interface for a blocking RPC channel. BlockingRpcChannel is the blocking equivalent to RpcChannel.
Authors
[email protected] Kenton Varda, [email protected] Chris Povirk

Method Summary

Modifier and TypeMethod and Description
public Message
callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)

Call the given method of the remote service and blocks until it returns.

Method Detail

callBlockingMethodback to summary
public Message 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. callBlockingMethod() is the blocking equivalent to RpcChannel#callMethod.