Public Member Functions | List of all members
com.google.protobuf.BlockingService Interface Reference

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)
 

Detailed Description

Blocking equivalent to Service.

Author
kento.nosp@m.n@go.nosp@m.ogle..nosp@m.com Kenton Varda
cpovi.nosp@m.rk@g.nosp@m.oogle.nosp@m..com Chris Povirk

Definition at line 39 of file BlockingService.java.

Member Function Documentation

◆ callBlockingMethod()

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.

◆ getDescriptorForType()

Descriptors.ServiceDescriptor com.google.protobuf.BlockingService.getDescriptorForType ( )

◆ getRequestPrototype()

Message com.google.protobuf.BlockingService.getRequestPrototype ( Descriptors.MethodDescriptor  method)

◆ getResponsePrototype()

Message com.google.protobuf.BlockingService.getResponsePrototype ( Descriptors.MethodDescriptor  method)

The documentation for this interface was generated from the following file:
com.google.protobuf.BlockingService.callBlockingMethod
Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)


libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:06