org.elasticsearch.transport.netty
Class NettyTransportChannel
java.lang.Object
org.elasticsearch.transport.netty.NettyTransportChannel
- All Implemented Interfaces:
- TransportChannel
public class NettyTransportChannel
- extends Object
- implements TransportChannel
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NettyTransportChannel
public NettyTransportChannel(NettyTransport transport,
String action,
org.jboss.netty.channel.Channel channel,
long requestId)
action
public String action()
- Specified by:
action
in interface TransportChannel
sendResponse
public void sendResponse(Streamable message)
throws IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
IOException
sendResponse
public void sendResponse(Streamable message,
TransportResponseOptions options)
throws IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
IOException
sendResponse
public void sendResponse(Throwable error)
throws IOException
- Specified by:
sendResponse
in interface TransportChannel
- Throws:
IOException
Copyright © 2009-2012. All Rights Reserved.