Package io.grpc.internal
Interface TransportProvider
-
- All Known Implementing Classes:
InternalSubchannel
@ThreadSafe interface TransportProvider
Provides transports for sending RPCs.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientTransport
obtainActiveTransport()
Returns a READY transport that will be used to create new streams.
-
-
-
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.
-
-