Interface TransportChannel (2.55.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