Interface TransportChannel

All Superinterfaces:
AutoCloseable, BackgroundResource

@InternalExtensionOnly public interface TransportChannel extends BackgroundResource
Class whose instances can issue RPCs on a particular transport.
  • Method Details

    • getTransportName

      String getTransportName()
      The name of the transport.

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

    • getEmptyCallContext

      ApiCallContext getEmptyCallContext()
      Returns an empty ApiCallContext that is compatible with this TransportChannel.