| Package | Description |
|---|---|
| com.github.os72.protobuf351 |
| Modifier and Type | Method and Description |
|---|---|
Message |
BlockingService.callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request)
Equivalent to
Service.callMethod(com.github.os72.protobuf351.Descriptors.MethodDescriptor, com.github.os72.protobuf351.RpcController, com.github.os72.protobuf351.Message, com.github.os72.protobuf351.RpcCallback<com.github.os72.protobuf351.Message>), except that
callBlockingMethod() returns the result of the RPC or throws a
ServiceException if there is a failure, rather than passing the
information to a callback. |
Message |
BlockingRpcChannel.callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request,
Message responsePrototype)
Call the given method of the remote service and blocks until it returns.
|
Copyright © 2008–2018. All rights reserved.