Package org.elasticsearch.transport
Class TcpTransportChannel
java.lang.Object
org.elasticsearch.transport.TcpTransportChannel
- All Implemented Interfaces:
TransportChannel
-
Field Summary
Fields inherited from interface org.elasticsearch.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
-