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.


Method Summary
 String action()
           
 void sendResponse(Streamable message)
           
 void sendResponse(Streamable message, TransportResponseOptions options)
           
 void sendResponse(Throwable error)
           
 

Method Detail

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.