Package org.apache.pekko.protobuf
Interface BlockingRpcChannel
-
public interface BlockingRpcChannelAbstract interface for a blocking RPC channel.
BlockingRpcChannelis the blocking equivalent toRpcChannel.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagecallBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)Call the given method of the remote service and blocks until it returns.
-
-
-
Method Detail
-
callBlockingMethod
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 toRpcChannel.callMethod(org.apache.pekko.protobuf.Descriptors.MethodDescriptor, org.apache.pekko.protobuf.RpcController, org.apache.pekko.protobuf.Message, org.apache.pekko.protobuf.Message, org.apache.pekko.protobuf.RpcCallback<org.apache.pekko.protobuf.Message>).- Throws:
ServiceException
-
-