Interface BlockingRpcChannel (3.19.4)

  public 
  
 interface 
 BlockingRpcChannel 
 

Abstract interface for a blocking RPC channel. BlockingRpcChannel is the blocking equivalent to RpcChannel .

Methods

callBlockingMethod(Descriptors.MethodDescriptor method, RpcController controller, Message request, Message responsePrototype)

  public 
  
 abstract 
  
 Message 
  
 callBlockingMethod 
 ( 
 Descriptors 
 . 
 MethodDescriptor 
  
 method 
 , 
  
 RpcController 
  
 controller 
 , 
  
 Message 
  
 request 
 , 
  
 Message 
  
 responsePrototype 
 ) 
 

Call the given method of the remote service and blocks until it returns. callBlockingMethod() is the blocking equivalent to RpcChannel#callMethod .

Parameters
Name
Description
controller
request
responsePrototype
Returns
Type
Description
Exceptions
Type
Description
Design a Mobile Site
View Site in Mobile | Classic
Share by: