Package io.grpc.internal
Interface TransportProvider
- All Known Implementing Classes:
InternalSubchannel
@ThreadSafe
interface TransportProvider
Provides transports for sending RPCs.
-
Method Summary
Modifier and TypeMethodDescriptionReturns a READY transport that will be used to create new streams.
-
Method Details
-
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.
-