Package org.elasticsearch.transport
Class TcpTransportChannel
java.lang.Object
org.elasticsearch.transport.TcpTransportChannel
- All Implemented Interfaces:
TransportChannel
public final class TcpTransportChannel extends java.lang.Object implements TransportChannel
-
Field Summary
Fields inherited from interface org.elasticsearch.transport.TransportChannel
logger
-
Method Summary
Modifier and Type Method Description TcpChannel
getChannel()
java.lang.String
getChannelType()
java.lang.String
getProfileName()
Version
getVersion()
Returns the version of the other party that this channel will send a response to.void
sendResponse(java.lang.Exception exception)
void
sendResponse(TransportResponse response)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
getProfileName
public java.lang.String getProfileName()- Specified by:
getProfileName
in interfaceTransportChannel
-
sendResponse
- Specified by:
sendResponse
in interfaceTransportChannel
- Throws:
java.io.IOException
-
sendResponse
public void sendResponse(java.lang.Exception exception) throws java.io.IOException- Specified by:
sendResponse
in interfaceTransportChannel
- Throws:
java.io.IOException
-
getChannelType
public java.lang.String 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
-