org.apache.camel.component.netty.handlers
Class ServerResponseFutureListener

java.lang.Object
  extended by 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.


Field Summary
 
Fields inherited from interface org.jboss.netty.channel.ChannelFutureListener
CLOSE, CLOSE_ON_FAILURE
 
Constructor Summary
ServerResponseFutureListener(NettyConsumer consumer, org.apache.camel.Exchange exchange, SocketAddress remoteAddress)
           
 
Method Summary
 void operationComplete(org.jboss.netty.channel.ChannelFuture future)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerResponseFutureListener

public ServerResponseFutureListener(NettyConsumer consumer,
                                    org.apache.camel.Exchange exchange,
                                    SocketAddress remoteAddress)
Method Detail

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