public interface BlockingService
Service.
| Modifier and Type | Method and Description |
|---|---|
Message |
callBlockingMethod(Descriptors
Equivalent to
Service, 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.
|
Descriptors |
getDescriptorForType()
Equivalent to
Service.
|
Message |
getRequestPrototype(Descriptors
|
Message |
getResponsePrototype(Descriptors
|
Descriptors.ServiceDescriptor getDescriptorForType()
Service.getDescriptorForType() .
MessagecallBlockingMethod(Descriptors .MethodDescriptor method, RpcController controller, Message request) throws ServiceException
Service.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.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.
ServiceException
MessagegetRequestPrototype(Descriptors .MethodDescriptor method)
MessagegetResponsePrototype(Descriptors .MethodDescriptor method)