@UnstableApi public class TriHttp2RemoteFlowController extends Object implements io.netty.handler.codec.http2.Http2RemoteFlowController
DefaultHttp2RemoteFlowController which is in Netty.| 构造器和说明 |
|---|
TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.StreamByteDistributor streamByteDistributor,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.StreamByteDistributor streamByteDistributor,
io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addFlowControlled(io.netty.handler.codec.http2.Http2Stream stream,
io.netty.handler.codec.http2.Http2RemoteFlowController.FlowControlled frame) |
io.netty.channel.ChannelHandlerContext |
channelHandlerContext() |
void |
channelHandlerContext(io.netty.channel.ChannelHandlerContext ctx)
Any queued
FlowControlled objects will be sent. |
void |
channelWritabilityChanged() |
boolean |
hasFlowControlled(io.netty.handler.codec.http2.Http2Stream stream) |
void |
incrementWindowSize(io.netty.handler.codec.http2.Http2Stream stream,
int delta) |
int |
initialWindowSize() |
void |
initialWindowSize(int newWindowSize) |
boolean |
isWritable(io.netty.handler.codec.http2.Http2Stream stream) |
void |
listener(io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener) |
void |
updateDependencyTree(int childStreamId,
int parentStreamId,
short weight,
boolean exclusive) |
int |
windowSize(io.netty.handler.codec.http2.Http2Stream stream) |
void |
writePendingBytes() |
public TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.StreamByteDistributor streamByteDistributor,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public TriHttp2RemoteFlowController(io.netty.handler.codec.http2.Http2Connection connection,
io.netty.handler.codec.http2.StreamByteDistributor streamByteDistributor,
io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener,
org.apache.dubbo.rpc.model.ApplicationModel applicationModel)
public void channelHandlerContext(io.netty.channel.ChannelHandlerContext ctx)
throws io.netty.handler.codec.http2.Http2Exception
Any queued FlowControlled objects will be sent.
channelHandlerContext 在接口中 io.netty.handler.codec.http2.Http2FlowControllerio.netty.handler.codec.http2.Http2Exceptionpublic io.netty.channel.ChannelHandlerContext channelHandlerContext()
channelHandlerContext 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic void initialWindowSize(int newWindowSize)
throws io.netty.handler.codec.http2.Http2Exception
initialWindowSize 在接口中 io.netty.handler.codec.http2.Http2FlowControllerio.netty.handler.codec.http2.Http2Exceptionpublic int initialWindowSize()
initialWindowSize 在接口中 io.netty.handler.codec.http2.Http2FlowControllerpublic int windowSize(io.netty.handler.codec.http2.Http2Stream stream)
windowSize 在接口中 io.netty.handler.codec.http2.Http2FlowControllerpublic boolean isWritable(io.netty.handler.codec.http2.Http2Stream stream)
isWritable 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic void channelWritabilityChanged()
throws io.netty.handler.codec.http2.Http2Exception
channelWritabilityChanged 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerio.netty.handler.codec.http2.Http2Exceptionpublic void updateDependencyTree(int childStreamId,
int parentStreamId,
short weight,
boolean exclusive)
updateDependencyTree 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic void listener(io.netty.handler.codec.http2.Http2RemoteFlowController.Listener listener)
listener 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic void incrementWindowSize(io.netty.handler.codec.http2.Http2Stream stream,
int delta)
throws io.netty.handler.codec.http2.Http2Exception
incrementWindowSize 在接口中 io.netty.handler.codec.http2.Http2FlowControllerio.netty.handler.codec.http2.Http2Exceptionpublic void addFlowControlled(io.netty.handler.codec.http2.Http2Stream stream,
io.netty.handler.codec.http2.Http2RemoteFlowController.FlowControlled frame)
addFlowControlled 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic boolean hasFlowControlled(io.netty.handler.codec.http2.Http2Stream stream)
hasFlowControlled 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerpublic void writePendingBytes()
throws io.netty.handler.codec.http2.Http2Exception
writePendingBytes 在接口中 io.netty.handler.codec.http2.Http2RemoteFlowControllerio.netty.handler.codec.http2.Http2ExceptionCopyright © 2011–2020 The Apache Software Foundation. All rights reserved.