public interface BlockingService
Service.| Modifier and Type | Method and Description |
|---|---|
Message |
callBlockingMethod(Descriptors.MethodDescriptor method,
RpcController controller,
Message request)
Equivalent to
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. |
Descriptors.ServiceDescriptor |
getDescriptorForType()
Equivalent to
Service.getDescriptorForType(). |
Message |
getRequestPrototype(Descriptors.MethodDescriptor method)
|
Message |
getResponsePrototype(Descriptors.MethodDescriptor method)
|
Descriptors.ServiceDescriptor getDescriptorForType()
Service.getDescriptorForType().Message callBlockingMethod(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.ServiceExceptionMessage getRequestPrototype(Descriptors.MethodDescriptor method)
Message getResponsePrototype(Descriptors.MethodDescriptor method)