Interface TransportChannel (2.20.0)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
ApiCallContext

getTransportName()

public abstract String getTransportName()

The name of the transport.

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

Returns
TypeDescription
String