Interface TransportChannel (2.23.2)

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