Package org.elasticsearch.transport
Class TaskTransportChannel
- java.lang.Object
-
- org.elasticsearch.transport.TaskTransportChannel
-
- All Implemented Interfaces:
TransportChannel
public class TaskTransportChannel extends java.lang.Object implements TransportChannel
-
-
Method Summary
Modifier and Type Method Description TransportChannelgetChannel()java.lang.StringgetChannelType()java.lang.StringgetProfileName()VersiongetVersion()Returns the version of the other party that this channel will send a response to.voidsendResponse(java.lang.Exception exception)voidsendResponse(TransportResponse response)
-
-
-
Method Detail
-
getProfileName
public java.lang.String getProfileName()
- Specified by:
getProfileNamein interfaceTransportChannel
-
getChannelType
public java.lang.String getChannelType()
- Specified by:
getChannelTypein interfaceTransportChannel
-
sendResponse
public void sendResponse(TransportResponse response) throws java.io.IOException
- Specified by:
sendResponsein interfaceTransportChannel- Throws:
java.io.IOException
-
sendResponse
public void sendResponse(java.lang.Exception exception) throws java.io.IOException- Specified by:
sendResponsein interfaceTransportChannel- Throws:
java.io.IOException
-
getVersion
public Version getVersion()
Description copied from interface:TransportChannelReturns the version of the other party that this channel will send a response to.- Specified by:
getVersionin interfaceTransportChannel
-
getChannel
public TransportChannel getChannel()
-
-