public abstract class DefaultHttp2ConnectionEncoder.FlowControlledBase extends Object implements Http2RemoteFlowController.FlowControlled, ChannelFutureListener
Modifier and Type | Field and Description |
---|---|
protected boolean |
endOfStream |
protected int |
padding |
protected ChannelPromise |
promise |
protected Http2Stream |
stream |
CLOSE, CLOSE_ON_FAILURE, FIRE_EXCEPTION_ON_FAILURE
Modifier | Constructor and Description |
---|---|
protected |
DefaultHttp2ConnectionEncoder.FlowControlledBase(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. |
void |
writeComplete()
Called after this object has been successfully written.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
error, merge, size, write
protected final Http2Stream stream
protected ChannelPromise promise
protected boolean endOfStream
protected int padding
protected DefaultHttp2ConnectionEncoder.FlowControlledBase(Http2Stream stream, int padding, boolean endOfStream, ChannelPromise promise)
public void writeComplete()
Http2RemoteFlowController.FlowControlled
The Http2RemoteFlowController
will make exactly one call to either
this method or Http2RemoteFlowController.FlowControlled.error(ChannelHandlerContext, Throwable)
.
writeComplete
in interface Http2RemoteFlowController.FlowControlled
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–2016 The Netty Project. All rights reserved.