Package com.google.api.gax.rpc
Interface TransportChannel
-
- All Superinterfaces:
AutoCloseable,BackgroundResource
@InternalExtensionOnly public interface TransportChannel extends BackgroundResource
Class whose instances can issue RPCs on a particular transport.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ApiCallContextgetEmptyCallContext()Returns an emptyApiCallContextthat is compatible with thisTransportChannel.StringgetTransportName()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 Detail
-
getTransportName
String getTransportName()
The name of the transport.This string can be used for identifying transports for switching logic.
-
getEmptyCallContext
ApiCallContext getEmptyCallContext()
Returns an emptyApiCallContextthat is compatible with thisTransportChannel.
-
-