Class ServerResponseFutureListener

  • All Implemented Interfaces:
    io.netty.channel.ChannelFutureListener, io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>, EventListener

    public class ServerResponseFutureListener
    extends Object
    implements io.netty.channel.ChannelFutureListener
    A ChannelFutureListener that performs the disconnect logic when sending the response is complete.
    • Constructor Detail

      • ServerResponseFutureListener

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

      • operationComplete

        public void operationComplete​(io.netty.channel.ChannelFuture future)
                               throws Exception
        Specified by:
        operationComplete in interface io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelFuture>
        Throws:
        Exception