Class WriteProgressListener

  • All Implemented Interfaces:
    io.netty.channel.ChannelProgressiveFutureListener, io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelProgressiveFuture>, io.netty.util.concurrent.GenericProgressiveFutureListener<io.netty.channel.ChannelProgressiveFuture>, EventListener

    public class WriteProgressListener
    extends WriteListener
    implements io.netty.channel.ChannelProgressiveFutureListener
    • Constructor Detail

      • WriteProgressListener

        public WriteProgressListener​(NettyResponseFuture<?> future,
                                     boolean notifyHeaders,
                                     long expectedTotal)
    • Method Detail

      • operationComplete

        public void operationComplete​(io.netty.channel.ChannelProgressiveFuture cf)
        Specified by:
        operationComplete in interface io.netty.util.concurrent.GenericFutureListener<io.netty.channel.ChannelProgressiveFuture>
      • operationProgressed

        public void operationProgressed​(io.netty.channel.ChannelProgressiveFuture f,
                                        long progress,
                                        long total)
        Specified by:
        operationProgressed in interface io.netty.util.concurrent.GenericProgressiveFutureListener<io.netty.channel.ChannelProgressiveFuture>