org.apache.camel.component.netty.handlers
Class ServerResponseFutureListener
java.lang.Object
org.apache.camel.component.netty.handlers.ServerResponseFutureListener
- All Implemented Interfaces:
- EventListener, org.jboss.netty.channel.ChannelFutureListener
public class ServerResponseFutureListener
- extends Object
- implements org.jboss.netty.channel.ChannelFutureListener
A ChannelFutureListener
that performs the disconnect logic when
sending the response is complete.
Fields inherited from interface org.jboss.netty.channel.ChannelFutureListener |
CLOSE, CLOSE_ON_FAILURE |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ServerResponseFutureListener
public ServerResponseFutureListener(NettyConsumer consumer,
org.apache.camel.Exchange exchange,
SocketAddress remoteAddress)
operationComplete
public void operationComplete(org.jboss.netty.channel.ChannelFuture future)
throws Exception
- Specified by:
operationComplete
in interface org.jboss.netty.channel.ChannelFutureListener
- Throws:
Exception
Apache Camel