Top Description Methods
com.google.protobuf

public Interface BlockingService


Blocking equivalent to Service.
Authors
[email protected] Kenton Varda, [email protected] Chris Povirk

Method Summary

Modifier and TypeMethod and Description
public Message
callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request)

Equivalent to Service#callMethod, 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.

public Descriptors.ServiceDescriptor
public Message
public Message

Method Detail

callBlockingMethodback to summary
public Message callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request) throws ServiceException

Equivalent to Service#callMethod, 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.

getDescriptorForTypeback to summary
public Descriptors.ServiceDescriptor getDescriptorForType()

Equivalent to Service#getDescriptorForType.

getRequestPrototypeback to summary
public Message getRequestPrototype(Descriptors.MethodDescriptor method)

Equivalent to Service#getRequestPrototype.

getResponsePrototypeback to summary
public Message getResponsePrototype(Descriptors.MethodDescriptor method)

Equivalent to Service#getResponsePrototype.