Interface TransportProvider

All Known Implementing Classes:
InternalSubchannel

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

    Modifier and Type
    Method
    Description
    Returns a READY transport that will be used to create new streams.
  • Method Details

    • 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.