Package com.google.api.gax.rpc
Interface TransportChannel
-
- All Superinterfaces:
java.lang.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.java.lang.StringgetTransportName()The name of the transport.-
Methods inherited from interface com.google.api.gax.core.BackgroundResource
awaitTermination, isShutdown, isTerminated, shutdown, shutdownNow
-
-
-
-
Method Detail
-
getTransportName
java.lang.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.
-
-