Package akka.protobuf
Interface BlockingRpcChannel
-
public interface BlockingRpcChannel
Abstract interface for a blocking RPC channel.
BlockingRpcChannel
is the blocking equivalent toRpcChannel
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method 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.
-
-
-
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(akka.protobuf.Descriptors.MethodDescriptor, akka.protobuf.RpcController, akka.protobuf.Message, akka.protobuf.Message, akka.protobuf.RpcCallback<akka.protobuf.Message>)
.- Throws:
ServiceException
-
-