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
String action()
sendResponse
void sendResponse(Streamable message)
throws IOException
- Throws:
IOException
sendResponse
void sendResponse(Streamable message,
TransportResponseOptions options)
throws IOException
- Throws:
IOException
sendResponse
void sendResponse(Throwable error)
throws IOException
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.