use FlowControlManager in Stream for Reading data

This commit is contained in:
Marten Seemann
2016-06-15 19:39:50 +07:00
parent 800320ec39
commit 5d02033f0f
6 changed files with 110 additions and 128 deletions

View File

@@ -13,7 +13,6 @@ type FlowController interface {
MaybeTriggerBlocked() bool
MaybeTriggerWindowUpdate() (bool, protocol.ByteCount)
CheckFlowControlViolation() bool
GetHighestReceived() protocol.ByteCount
}
// A FlowControlManager manages the flow control