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 Details
-
getProfileName
public java.lang.String getProfileName()- Specified by:
getProfileNamein interfaceTransportChannel
-
getChannelType
public java.lang.String getChannelType()- Specified by:
getChannelTypein interfaceTransportChannel
-
sendResponse
- 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
Description copied from interface:TransportChannelReturns the version of the other party that this channel will send a response to.- Specified by:
getVersionin interfaceTransportChannel
-
getChannel
-