public abstract class DefaultHttp2ConnectionEncoder.FlowControlledBase extends Object implements Http2RemoteFlowController.FlowControlled, ChannelFutureListener
Modifier and Type | Field and Description |
---|---|
protected ChannelHandlerContext |
ctx |
protected boolean |
endOfStream |
protected int |
padding |
protected ChannelPromise |
promise |
protected Http2Stream |
stream |
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
Constructor and Description |
---|
DefaultHttp2ConnectionEncoder.FlowControlledBase(ChannelHandlerContext ctx,
Http2Stream stream,
int padding,
boolean endOfStream,
ChannelPromise promise) |
Modifier and Type | Method and Description |
---|---|
void |
operationComplete(ChannelFuture future)
Invoked when the operation associated with the
Future has been completed. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
error, size, write
protected final ChannelHandlerContext ctx
protected final Http2Stream stream
protected final ChannelPromise promise
protected final boolean endOfStream
protected int padding
public DefaultHttp2ConnectionEncoder.FlowControlledBase(ChannelHandlerContext ctx, Http2Stream stream, int padding, boolean endOfStream, ChannelPromise promise)
public void operationComplete(ChannelFuture future) throws Exception
GenericFutureListener
Future
has been completed.operationComplete
in interface GenericFutureListener<ChannelFuture>
future
- the source Future
which called this callbackException
Copyright © 2008–2015 The Netty Project. All rights reserved.