Documentation ¶
Index ¶
- type MockFlowControlManager
- func (_m *MockFlowControlManager) AddBytesRead(streamID protocol.StreamID, n protocol.ByteCount) error
- func (_m *MockFlowControlManager) AddBytesRetrans(streamID protocol.StreamID, n protocol.ByteCount) error
- func (_m *MockFlowControlManager) AddBytesSent(streamID protocol.StreamID, n protocol.ByteCount) error
- func (_m *MockFlowControlManager) EXPECT() *MockFlowControlManagerMockRecorder
- func (_m *MockFlowControlManager) GetBytesRetrans(streamID protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) GetBytesSent(streamID protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) GetReceiveWindow(streamID protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) GetWindowUpdates(force bool) []flowcontrol.WindowUpdate
- func (_m *MockFlowControlManager) NewStream(streamID protocol.StreamID, contributesToConnectionFlow bool)
- func (_m *MockFlowControlManager) RemainingConnectionWindowSize() protocol.ByteCount
- func (_m *MockFlowControlManager) RemoveStream(streamID protocol.StreamID)
- func (_m *MockFlowControlManager) ResetStream(streamID protocol.StreamID, byteOffset protocol.ByteCount) error
- func (_m *MockFlowControlManager) SendWindowSize(streamID protocol.StreamID) (protocol.ByteCount, error)
- func (_m *MockFlowControlManager) UpdateHighestReceived(streamID protocol.StreamID, byteOffset protocol.ByteCount) error
- func (_m *MockFlowControlManager) UpdateWindow(streamID protocol.StreamID, offset protocol.ByteCount) (bool, error)
- type MockFlowControlManagerMockRecorder
- func (_mr *MockFlowControlManagerMockRecorder) AddBytesRead(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) AddBytesRetrans(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) AddBytesSent(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) GetBytesRetrans(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) GetBytesSent(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) GetReceiveWindow(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) GetWindowUpdates(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) NewStream(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) RemainingConnectionWindowSize() *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) RemoveStream(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) ResetStream(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) SendWindowSize(arg0 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
- func (_mr *MockFlowControlManagerMockRecorder) UpdateWindow(arg0, arg1 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockFlowControlManager ¶
type MockFlowControlManager struct {
// contains filtered or unexported fields
}
MockFlowControlManager is a mock of FlowControlManager interface
func NewMockFlowControlManager ¶
func NewMockFlowControlManager(ctrl *gomock.Controller) *MockFlowControlManager
NewMockFlowControlManager creates a new mock instance
func (*MockFlowControlManager) AddBytesRead ¶
func (_m *MockFlowControlManager) AddBytesRead(streamID protocol.StreamID, n protocol.ByteCount) error
AddBytesRead mocks base method
func (*MockFlowControlManager) AddBytesRetrans ¶
func (_m *MockFlowControlManager) AddBytesRetrans(streamID protocol.StreamID, n protocol.ByteCount) error
AddBytesRetrans mocks base method
func (*MockFlowControlManager) AddBytesSent ¶
func (_m *MockFlowControlManager) AddBytesSent(streamID protocol.StreamID, n protocol.ByteCount) error
AddBytesSent mocks base method
func (*MockFlowControlManager) EXPECT ¶
func (_m *MockFlowControlManager) EXPECT() *MockFlowControlManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockFlowControlManager) GetBytesRetrans ¶
func (_m *MockFlowControlManager) GetBytesRetrans(streamID protocol.StreamID) (protocol.ByteCount, error)
GetBytesRetrans mocks base method
func (*MockFlowControlManager) GetBytesSent ¶
func (_m *MockFlowControlManager) GetBytesSent(streamID protocol.StreamID) (protocol.ByteCount, error)
GetBytesSent mocks base method
func (*MockFlowControlManager) GetReceiveWindow ¶
func (_m *MockFlowControlManager) GetReceiveWindow(streamID protocol.StreamID) (protocol.ByteCount, error)
GetReceiveWindow mocks base method
func (*MockFlowControlManager) GetWindowUpdates ¶
func (_m *MockFlowControlManager) GetWindowUpdates(force bool) []flowcontrol.WindowUpdate
GetWindowUpdates mocks base method
func (*MockFlowControlManager) NewStream ¶
func (_m *MockFlowControlManager) NewStream(streamID protocol.StreamID, contributesToConnectionFlow bool)
NewStream mocks base method
func (*MockFlowControlManager) RemainingConnectionWindowSize ¶
func (_m *MockFlowControlManager) RemainingConnectionWindowSize() protocol.ByteCount
RemainingConnectionWindowSize mocks base method
func (*MockFlowControlManager) RemoveStream ¶
func (_m *MockFlowControlManager) RemoveStream(streamID protocol.StreamID)
RemoveStream mocks base method
func (*MockFlowControlManager) ResetStream ¶
func (_m *MockFlowControlManager) ResetStream(streamID protocol.StreamID, byteOffset protocol.ByteCount) error
ResetStream mocks base method
func (*MockFlowControlManager) SendWindowSize ¶
func (_m *MockFlowControlManager) SendWindowSize(streamID protocol.StreamID) (protocol.ByteCount, error)
SendWindowSize mocks base method
func (*MockFlowControlManager) UpdateHighestReceived ¶
func (_m *MockFlowControlManager) UpdateHighestReceived(streamID protocol.StreamID, byteOffset protocol.ByteCount) error
UpdateHighestReceived mocks base method
func (*MockFlowControlManager) UpdateWindow ¶
func (_m *MockFlowControlManager) UpdateWindow(streamID protocol.StreamID, offset protocol.ByteCount) (bool, error)
UpdateWindow mocks base method
type MockFlowControlManagerMockRecorder ¶
type MockFlowControlManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockFlowControlManagerMockRecorder is the mock recorder for MockFlowControlManager
func (*MockFlowControlManagerMockRecorder) AddBytesRead ¶
func (_mr *MockFlowControlManagerMockRecorder) AddBytesRead(arg0, arg1 interface{}) *gomock.Call
AddBytesRead indicates an expected call of AddBytesRead
func (*MockFlowControlManagerMockRecorder) AddBytesRetrans ¶
func (_mr *MockFlowControlManagerMockRecorder) AddBytesRetrans(arg0, arg1 interface{}) *gomock.Call
AddBytesRetrans indicates an expected call of AddBytesRetrans
func (*MockFlowControlManagerMockRecorder) AddBytesSent ¶
func (_mr *MockFlowControlManagerMockRecorder) AddBytesSent(arg0, arg1 interface{}) *gomock.Call
AddBytesSent indicates an expected call of AddBytesSent
func (*MockFlowControlManagerMockRecorder) GetBytesRetrans ¶
func (_mr *MockFlowControlManagerMockRecorder) GetBytesRetrans(arg0 interface{}) *gomock.Call
GetBytesRetrans indicates an expected call of GetBytesRetrans
func (*MockFlowControlManagerMockRecorder) GetBytesSent ¶
func (_mr *MockFlowControlManagerMockRecorder) GetBytesSent(arg0 interface{}) *gomock.Call
GetBytesSent indicates an expected call of GetBytesSent
func (*MockFlowControlManagerMockRecorder) GetReceiveWindow ¶
func (_mr *MockFlowControlManagerMockRecorder) GetReceiveWindow(arg0 interface{}) *gomock.Call
GetReceiveWindow indicates an expected call of GetReceiveWindow
func (*MockFlowControlManagerMockRecorder) GetWindowUpdates ¶
func (_mr *MockFlowControlManagerMockRecorder) GetWindowUpdates(arg0 interface{}) *gomock.Call
GetWindowUpdates indicates an expected call of GetWindowUpdates
func (*MockFlowControlManagerMockRecorder) NewStream ¶
func (_mr *MockFlowControlManagerMockRecorder) NewStream(arg0, arg1 interface{}) *gomock.Call
NewStream indicates an expected call of NewStream
func (*MockFlowControlManagerMockRecorder) RemainingConnectionWindowSize ¶
func (_mr *MockFlowControlManagerMockRecorder) RemainingConnectionWindowSize() *gomock.Call
RemainingConnectionWindowSize indicates an expected call of RemainingConnectionWindowSize
func (*MockFlowControlManagerMockRecorder) RemoveStream ¶
func (_mr *MockFlowControlManagerMockRecorder) RemoveStream(arg0 interface{}) *gomock.Call
RemoveStream indicates an expected call of RemoveStream
func (*MockFlowControlManagerMockRecorder) ResetStream ¶
func (_mr *MockFlowControlManagerMockRecorder) ResetStream(arg0, arg1 interface{}) *gomock.Call
ResetStream indicates an expected call of ResetStream
func (*MockFlowControlManagerMockRecorder) SendWindowSize ¶
func (_mr *MockFlowControlManagerMockRecorder) SendWindowSize(arg0 interface{}) *gomock.Call
SendWindowSize indicates an expected call of SendWindowSize
func (*MockFlowControlManagerMockRecorder) UpdateHighestReceived ¶
func (_mr *MockFlowControlManagerMockRecorder) UpdateHighestReceived(arg0, arg1 interface{}) *gomock.Call
UpdateHighestReceived indicates an expected call of UpdateHighestReceived
func (*MockFlowControlManagerMockRecorder) UpdateWindow ¶
func (_mr *MockFlowControlManagerMockRecorder) UpdateWindow(arg0, arg1 interface{}) *gomock.Call
UpdateWindow indicates an expected call of UpdateWindow