Package org.elasticsearch.transport
Class TaskTransportChannel
- java.lang.Object
-
- org.elasticsearch.transport.TaskTransportChannel
-
- All Implemented Interfaces:
TransportChannel
public class TaskTransportChannel extends Object implements TransportChannel
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TransportChannelgetChannel()StringgetChannelType()StringgetProfileName()VersiongetVersion()Returns the version of the other party that this channel will send a response to.voidsendResponse(Exception exception)voidsendResponse(TransportResponse response)
-
-
-
Method Detail
-
getProfileName
public String getProfileName()
- Specified by:
getProfileNamein interfaceTransportChannel
-
getChannelType
public String getChannelType()
- Specified by:
getChannelTypein interfaceTransportChannel
-
sendResponse
public void sendResponse(TransportResponse response) throws IOException
- Specified by:
sendResponsein interfaceTransportChannel- Throws:
IOException
-
sendResponse
public void sendResponse(Exception exception) throws IOException
- Specified by:
sendResponsein interfaceTransportChannel- Throws:
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()
-
-