public abstract class DefaultHttp2ConnectionEncoder.FlowControlledBase extends java.lang.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 and Type | Method and Description |
---|---|
void |
operationComplete(ChannelFuture future)
当与 Future 相关的操作完成时调用。
|
void |
writeComplete()
在此对象成功写入后调用。
|
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
public void writeComplete()
Http2RemoteFlowController.FlowControlled
Http2RemoteFlowController
只会对此方法或Http2RemoteFlowController.FlowControlled.error(ChannelHandlerContext, Throwable)
进行一次呼叫。
writeComplete
在界面
Http2RemoteFlowController.FlowControlled
public void operationComplete(ChannelFuture future) throws java.lang.Exception
GenericFutureListener
Future
相关的操作已完成时调用。
operationComplete
在界面
GenericFutureListener<ChannelFuture>
future
- 调用此回调的源Future
java.lang.Exception
Copyright © 2008–2018 The Netty Project. All rights reserved.