org.elasticsearch.transport
Interface TransportChannel
- All Known Implementing Classes:
- LocalTransportChannel, NettyTransportChannel
public interface TransportChannel
A transport channel allows to send a response to a request on the channel.
action
java.lang.String action()
sendResponse
void sendResponse(Streamable message)
throws java.io.IOException
- Throws:
java.io.IOException
sendResponse
void sendResponse(Streamable message,
TransportResponseOptions options)
throws java.io.IOException
- Throws:
java.io.IOException
sendResponse
void sendResponse(java.lang.Throwable error)
throws java.io.IOException
- Throws:
java.io.IOException