public class ProgressListener extends Object implements ChannelProgressiveFutureListener
Constructor and Description |
---|
ProgressListener(AsyncHandler<?> asyncHandler,
NettyResponseFuture<?> future,
boolean notifyHeaders,
long expectedTotal) |
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(ChannelProgressiveFuture cf) |
void |
operationProgressed(ChannelProgressiveFuture f,
long progress,
long total) |
public ProgressListener(AsyncHandler<?> asyncHandler, NettyResponseFuture<?> future, boolean notifyHeaders, long expectedTotal)
public void operationComplete(ChannelProgressiveFuture cf)
operationComplete
in interface io.netty.util.concurrent.GenericFutureListener<ChannelProgressiveFuture>
public void operationProgressed(ChannelProgressiveFuture f, long progress, long total)
operationProgressed
in interface io.netty.util.concurrent.GenericProgressiveFutureListener<ChannelProgressiveFuture>
Copyright © 2016. All Rights Reserved.