Package org.opensearch.transport
Class TcpTransportChannel
java.lang.Object
org.opensearch.transport.TcpTransportChannel
- All Implemented Interfaces:
TransportChannel
Channel for a TCP connection
- Opensearch.internal:
-
Field Summary
Fields inherited from interface org.opensearch.transport.TransportChannel
logger
-
Method Summary
Modifier and TypeMethodDescriptionReturns the version of the other party that this channel will send a response to.void
sendResponse
(Exception exception) void
sendResponse
(TransportResponse response)
-
Method Details
-
getProfileName
- Specified by:
getProfileName
in interfaceTransportChannel
-
sendResponse
- Specified by:
sendResponse
in interfaceTransportChannel
- Throws:
IOException
-
sendResponse
- Specified by:
sendResponse
in interfaceTransportChannel
- Throws:
IOException
-
getChannelType
- Specified by:
getChannelType
in interfaceTransportChannel
-
getVersion
Description copied from interface:TransportChannel
Returns the version of the other party that this channel will send a response to.- Specified by:
getVersion
in interfaceTransportChannel
-
getChannel
-