Public Member Functions | |
| Message | callBlockingMethod (Descriptors.MethodDescriptor method, RpcController controller, Message request) throws ServiceException |
| Descriptors.ServiceDescriptor | getDescriptorForType () |
| Message | getRequestPrototype (Descriptors.MethodDescriptor method) |
| Message | getResponsePrototype (Descriptors.MethodDescriptor method) |
Blocking equivalent to Service.
Definition at line 39 of file BlockingService.java.
| Message com.google.protobuf.BlockingService.callBlockingMethod | ( | Descriptors.MethodDescriptor | method, |
| RpcController | controller, | ||
| Message | request | ||
| ) | throws ServiceException |
Equivalent to Service#callMethod, except that
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 com.google.protobuf.BlockingService.getDescriptorForType | ( | ) |
Equivalent to Service#getDescriptorForType.
| Message com.google.protobuf.BlockingService.getRequestPrototype | ( | Descriptors.MethodDescriptor | method | ) |
Equivalent to Service#getRequestPrototype.
| Message com.google.protobuf.BlockingService.getResponsePrototype | ( | Descriptors.MethodDescriptor | method | ) |
Equivalent to Service#getResponsePrototype.