|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface BlockingService
Blocking equivalent to Service.
| Method Summary | |
|---|---|
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, 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)
Equivalent to Service.getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor). |
Message |
getResponsePrototype(Descriptors.MethodDescriptor method)
Equivalent to Service.getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor). |
| Method Detail |
|---|
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) , 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)
Service.getRequestPrototype(com.google.protobuf.Descriptors.MethodDescriptor).
Message getResponsePrototype(Descriptors.MethodDescriptor method)
Service.getResponsePrototype(com.google.protobuf.Descriptors.MethodDescriptor).
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||