Documentation ¶
Overview ¶
Package mockackhandler is a generated GoMock package.
Package mockackhandler is a generated GoMock package.
Index ¶
- type MockReceivedPacketHandler
- func (m *MockReceivedPacketHandler) EXPECT() *MockReceivedPacketHandlerMockRecorder
- func (m *MockReceivedPacketHandler) GetAckFrame() *wire.AckFrame
- func (m *MockReceivedPacketHandler) GetAlarmTimeout() time.Time
- func (m *MockReceivedPacketHandler) IgnoreBelow(arg0 protocol.PacketNumber)
- func (m *MockReceivedPacketHandler) ReceivedPacket(arg0 protocol.PacketNumber, arg1 time.Time, arg2 bool) error
- type MockReceivedPacketHandlerMockRecorder
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame() *gomock.Call
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *gomock.Call
- func (mr *MockReceivedPacketHandlerMockRecorder) IgnoreBelow(arg0 interface{}) *gomock.Call
- func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockSentPacketHandler
- func (m *MockSentPacketHandler) DequeuePacketForRetransmission() *ackhandler.Packet
- func (m *MockSentPacketHandler) EXPECT() *MockSentPacketHandlerMockRecorder
- func (m *MockSentPacketHandler) GetAlarmTimeout() time.Time
- func (m *MockSentPacketHandler) GetLeastUnacked() protocol.PacketNumber
- func (m *MockSentPacketHandler) GetLowestPacketNotConfirmedAcked() protocol.PacketNumber
- func (m *MockSentPacketHandler) GetStopWaitingFrame(arg0 bool) *wire.StopWaitingFrame
- func (m *MockSentPacketHandler) OnAlarm()
- func (m *MockSentPacketHandler) ReceivedAck(arg0 *wire.AckFrame, arg1 protocol.PacketNumber, arg2 protocol.EncryptionLevel, ...) error
- func (m *MockSentPacketHandler) SendingAllowed() bool
- func (m *MockSentPacketHandler) SentPacket(arg0 *ackhandler.Packet) error
- func (m *MockSentPacketHandler) SetHandshakeComplete()
- func (m *MockSentPacketHandler) ShouldSendNumPackets() int
- func (m *MockSentPacketHandler) TimeUntilSend() time.Time
- type MockSentPacketHandlerMockRecorder
- func (mr *MockSentPacketHandlerMockRecorder) DequeuePacketForRetransmission() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) GetAlarmTimeout() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) GetLeastUnacked() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) GetLowestPacketNotConfirmedAcked() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) GetStopWaitingFrame(arg0 interface{}) *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) OnAlarm() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) SendingAllowed() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0 interface{}) *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeComplete() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) ShouldSendNumPackets() *gomock.Call
- func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockReceivedPacketHandler ¶
type MockReceivedPacketHandler struct {
// contains filtered or unexported fields
}
MockReceivedPacketHandler is a mock of ReceivedPacketHandler interface
func NewMockReceivedPacketHandler ¶
func NewMockReceivedPacketHandler(ctrl *gomock.Controller) *MockReceivedPacketHandler
NewMockReceivedPacketHandler creates a new mock instance
func (*MockReceivedPacketHandler) EXPECT ¶
func (m *MockReceivedPacketHandler) EXPECT() *MockReceivedPacketHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockReceivedPacketHandler) GetAckFrame ¶
func (m *MockReceivedPacketHandler) GetAckFrame() *wire.AckFrame
GetAckFrame mocks base method
func (*MockReceivedPacketHandler) GetAlarmTimeout ¶
func (m *MockReceivedPacketHandler) GetAlarmTimeout() time.Time
GetAlarmTimeout mocks base method
func (*MockReceivedPacketHandler) IgnoreBelow ¶
func (m *MockReceivedPacketHandler) IgnoreBelow(arg0 protocol.PacketNumber)
IgnoreBelow mocks base method
func (*MockReceivedPacketHandler) ReceivedPacket ¶
func (m *MockReceivedPacketHandler) ReceivedPacket(arg0 protocol.PacketNumber, arg1 time.Time, arg2 bool) error
ReceivedPacket mocks base method
type MockReceivedPacketHandlerMockRecorder ¶
type MockReceivedPacketHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockReceivedPacketHandlerMockRecorder is the mock recorder for MockReceivedPacketHandler
func (*MockReceivedPacketHandlerMockRecorder) GetAckFrame ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame() *gomock.Call
GetAckFrame indicates an expected call of GetAckFrame
func (*MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *gomock.Call
GetAlarmTimeout indicates an expected call of GetAlarmTimeout
func (*MockReceivedPacketHandlerMockRecorder) IgnoreBelow ¶
func (mr *MockReceivedPacketHandlerMockRecorder) IgnoreBelow(arg0 interface{}) *gomock.Call
IgnoreBelow indicates an expected call of IgnoreBelow
func (*MockReceivedPacketHandlerMockRecorder) ReceivedPacket ¶
func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2 interface{}) *gomock.Call
ReceivedPacket indicates an expected call of ReceivedPacket
type MockSentPacketHandler ¶
type MockSentPacketHandler struct {
// contains filtered or unexported fields
}
MockSentPacketHandler is a mock of SentPacketHandler interface
func NewMockSentPacketHandler ¶
func NewMockSentPacketHandler(ctrl *gomock.Controller) *MockSentPacketHandler
NewMockSentPacketHandler creates a new mock instance
func (*MockSentPacketHandler) DequeuePacketForRetransmission ¶
func (m *MockSentPacketHandler) DequeuePacketForRetransmission() *ackhandler.Packet
DequeuePacketForRetransmission mocks base method
func (*MockSentPacketHandler) EXPECT ¶
func (m *MockSentPacketHandler) EXPECT() *MockSentPacketHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockSentPacketHandler) GetAlarmTimeout ¶
func (m *MockSentPacketHandler) GetAlarmTimeout() time.Time
GetAlarmTimeout mocks base method
func (*MockSentPacketHandler) GetLeastUnacked ¶
func (m *MockSentPacketHandler) GetLeastUnacked() protocol.PacketNumber
GetLeastUnacked mocks base method
func (*MockSentPacketHandler) GetLowestPacketNotConfirmedAcked ¶
func (m *MockSentPacketHandler) GetLowestPacketNotConfirmedAcked() protocol.PacketNumber
GetLowestPacketNotConfirmedAcked mocks base method
func (*MockSentPacketHandler) GetStopWaitingFrame ¶
func (m *MockSentPacketHandler) GetStopWaitingFrame(arg0 bool) *wire.StopWaitingFrame
GetStopWaitingFrame mocks base method
func (*MockSentPacketHandler) OnAlarm ¶
func (m *MockSentPacketHandler) OnAlarm()
OnAlarm mocks base method
func (*MockSentPacketHandler) ReceivedAck ¶
func (m *MockSentPacketHandler) ReceivedAck(arg0 *wire.AckFrame, arg1 protocol.PacketNumber, arg2 protocol.EncryptionLevel, arg3 time.Time) error
ReceivedAck mocks base method
func (*MockSentPacketHandler) SendingAllowed ¶
func (m *MockSentPacketHandler) SendingAllowed() bool
SendingAllowed mocks base method
func (*MockSentPacketHandler) SentPacket ¶
func (m *MockSentPacketHandler) SentPacket(arg0 *ackhandler.Packet) error
SentPacket mocks base method
func (*MockSentPacketHandler) SetHandshakeComplete ¶
func (m *MockSentPacketHandler) SetHandshakeComplete()
SetHandshakeComplete mocks base method
func (*MockSentPacketHandler) ShouldSendNumPackets ¶
func (m *MockSentPacketHandler) ShouldSendNumPackets() int
ShouldSendNumPackets mocks base method
func (*MockSentPacketHandler) TimeUntilSend ¶
func (m *MockSentPacketHandler) TimeUntilSend() time.Time
TimeUntilSend mocks base method
type MockSentPacketHandlerMockRecorder ¶
type MockSentPacketHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockSentPacketHandlerMockRecorder is the mock recorder for MockSentPacketHandler
func (*MockSentPacketHandlerMockRecorder) DequeuePacketForRetransmission ¶
func (mr *MockSentPacketHandlerMockRecorder) DequeuePacketForRetransmission() *gomock.Call
DequeuePacketForRetransmission indicates an expected call of DequeuePacketForRetransmission
func (*MockSentPacketHandlerMockRecorder) GetAlarmTimeout ¶
func (mr *MockSentPacketHandlerMockRecorder) GetAlarmTimeout() *gomock.Call
GetAlarmTimeout indicates an expected call of GetAlarmTimeout
func (*MockSentPacketHandlerMockRecorder) GetLeastUnacked ¶
func (mr *MockSentPacketHandlerMockRecorder) GetLeastUnacked() *gomock.Call
GetLeastUnacked indicates an expected call of GetLeastUnacked
func (*MockSentPacketHandlerMockRecorder) GetLowestPacketNotConfirmedAcked ¶
func (mr *MockSentPacketHandlerMockRecorder) GetLowestPacketNotConfirmedAcked() *gomock.Call
GetLowestPacketNotConfirmedAcked indicates an expected call of GetLowestPacketNotConfirmedAcked
func (*MockSentPacketHandlerMockRecorder) GetStopWaitingFrame ¶
func (mr *MockSentPacketHandlerMockRecorder) GetStopWaitingFrame(arg0 interface{}) *gomock.Call
GetStopWaitingFrame indicates an expected call of GetStopWaitingFrame
func (*MockSentPacketHandlerMockRecorder) OnAlarm ¶
func (mr *MockSentPacketHandlerMockRecorder) OnAlarm() *gomock.Call
OnAlarm indicates an expected call of OnAlarm
func (*MockSentPacketHandlerMockRecorder) ReceivedAck ¶
func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
ReceivedAck indicates an expected call of ReceivedAck
func (*MockSentPacketHandlerMockRecorder) SendingAllowed ¶
func (mr *MockSentPacketHandlerMockRecorder) SendingAllowed() *gomock.Call
SendingAllowed indicates an expected call of SendingAllowed
func (*MockSentPacketHandlerMockRecorder) SentPacket ¶
func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0 interface{}) *gomock.Call
SentPacket indicates an expected call of SentPacket
func (*MockSentPacketHandlerMockRecorder) SetHandshakeComplete ¶
func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeComplete() *gomock.Call
SetHandshakeComplete indicates an expected call of SetHandshakeComplete
func (*MockSentPacketHandlerMockRecorder) ShouldSendNumPackets ¶
func (mr *MockSentPacketHandlerMockRecorder) ShouldSendNumPackets() *gomock.Call
ShouldSendNumPackets indicates an expected call of ShouldSendNumPackets
func (*MockSentPacketHandlerMockRecorder) TimeUntilSend ¶
func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *gomock.Call
TimeUntilSend indicates an expected call of TimeUntilSend