Package com.google.api.gax.rpc
Interface TransportChannel
- All Superinterfaces:
AutoCloseable
,BackgroundResource
Class whose instances can issue RPCs on a particular transport.
-
Method Summary
Modifier and TypeMethodDescriptionReturns an emptyApiCallContext
that is compatible with thisTransportChannel
.The name of the transport.Methods inherited from interface java.lang.AutoCloseable
close
Methods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
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 emptyApiCallContext
that is compatible with thisTransportChannel
.
-