Interface TransportChannel (2.21.0)

  public 
  
 interface 
 TransportChannel 
  
 extends 
  
 BackgroundResource 
 

Class whose instances can issue RPCs on a particular transport.

Implements

BackgroundResource

Methods

getEmptyCallContext()

  public 
  
 abstract 
  
 ApiCallContext 
  
 getEmptyCallContext 
 () 
 

Returns an empty ApiCallContext that is compatible with this TransportChannel .

Returns
Type Description
ApiCallContext

getTransportName()

  public 
  
 abstract 
  
 String 
  
 getTransportName 
 () 
 

The name of the transport.

This string can be used for identifying transports for switching logic.

Returns
Type Description
String
Create a Mobile Website
View Site in Mobile | Classic
Share by: