Interface TransportProvider

  • All Known Implementing Classes:
    InternalSubchannel

    @ThreadSafe
    interface TransportProvider
    Provides transports for sending RPCs.
    • Method Detail

      • obtainActiveTransport

        @Nullable
        ClientTransport obtainActiveTransport()
        Returns a READY transport that will be used to create new streams.

        Returns null if the state is not READY. Will try to connect if state is IDLE.