Package com.google.protobuf
Interface BlockingService
-
public interface BlockingServiceBlocking equivalent toService.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MessagecallBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>), except thatcallBlockingMethod()returns the result of the RPC or throws aServiceExceptionif there is a failure, rather than passing the information to a callback.Descriptors.ServiceDescriptorgetDescriptorForType()Equivalent toService.getDescriptorForType().MessagegetRequestPrototype(Descriptors.MethodDescriptor method)MessagegetResponsePrototype(Descriptors.MethodDescriptor method)
-
-
-
Method Detail
-
getDescriptorForType
Descriptors.ServiceDescriptor getDescriptorForType()
Equivalent toService.getDescriptorForType().
-
callBlockingMethod
Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request) throws ServiceException
Equivalent toService.callMethod(com.google.protobuf.Descriptors.MethodDescriptor, com.google.protobuf.RpcController, com.google.protobuf.Message, com.google.protobuf.RpcCallback<com.google.protobuf.Message>), except thatcallBlockingMethod()returns the result of the RPC or throws aServiceExceptionif there is a failure, rather than passing the information to a callback.- Throws:
ServiceException
-
getRequestPrototype
Message getRequestPrototype(Descriptors.MethodDescriptor method)
-
getResponsePrototype
Message getResponsePrototype(Descriptors.MethodDescriptor method)
-
-