Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/TA-MoQ/quic-go/internal/ackhandler (interfaces: ReceivedPacketHandler)
Generated by this command:
mockgen.exe -typed -build_flags=-tags=gomock -package mockackhandler -destination ackhandler/received_packet_handler.go github.com/TA-MoQ/quic-go/internal/ackhandler ReceivedPacketHandler
Package mockackhandler is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/TA-MoQ/quic-go/internal/ackhandler (interfaces: SentPacketHandler)
Generated by this command:
mockgen.exe -typed -build_flags=-tags=gomock -package mockackhandler -destination ackhandler/sent_packet_handler.go github.com/TA-MoQ/quic-go/internal/ackhandler SentPacketHandler
Package mockackhandler is a generated GoMock package.
Index ¶
- type MockReceivedPacketHandler
- func (m *MockReceivedPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)
- func (m *MockReceivedPacketHandler) EXPECT() *MockReceivedPacketHandlerMockRecorder
- func (m *MockReceivedPacketHandler) GetAckFrame(arg0 protocol.EncryptionLevel, arg1 bool) *wire.AckFrame
- func (m *MockReceivedPacketHandler) GetAlarmTimeout() time.Time
- func (m *MockReceivedPacketHandler) IsPotentiallyDuplicate(arg0 protocol.PacketNumber, arg1 protocol.EncryptionLevel) bool
- func (m *MockReceivedPacketHandler) ReceivedPacket(arg0 protocol.PacketNumber, arg1 protocol.ECN, arg2 protocol.EncryptionLevel, ...) error
- type MockReceivedPacketHandlerMockRecorder
- func (mr *MockReceivedPacketHandlerMockRecorder) DropPackets(arg0 any) *ReceivedPacketHandlerDropPacketsCall
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame(arg0, arg1 any) *ReceivedPacketHandlerGetAckFrameCall
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *ReceivedPacketHandlerGetAlarmTimeoutCall
- func (mr *MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate(arg0, arg1 any) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2, arg3, arg4 any) *ReceivedPacketHandlerReceivedPacketCall
- type MockSentPacketHandler
- func (m *MockSentPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)
- func (m *MockSentPacketHandler) ECNMode(arg0 bool) protocol.ECN
- func (m *MockSentPacketHandler) EXPECT() *MockSentPacketHandlerMockRecorder
- func (m *MockSentPacketHandler) GetLossDetectionTimeout() time.Time
- func (m *MockSentPacketHandler) GetMaxBandwidth() congestion.Bandwidth
- func (m *MockSentPacketHandler) OnLossDetectionTimeout() error
- func (m *MockSentPacketHandler) PeekPacketNumber(arg0 protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)
- func (m *MockSentPacketHandler) PopPacketNumber(arg0 protocol.EncryptionLevel) protocol.PacketNumber
- func (m *MockSentPacketHandler) QueueProbePacket(arg0 protocol.EncryptionLevel) bool
- func (m *MockSentPacketHandler) ReceivedAck(arg0 *wire.AckFrame, arg1 protocol.EncryptionLevel, arg2 time.Time) (bool, error)
- func (m *MockSentPacketHandler) ReceivedBytes(arg0 protocol.ByteCount)
- func (m *MockSentPacketHandler) ResetForRetry(arg0 time.Time) error
- func (m *MockSentPacketHandler) SendMode(arg0 time.Time) ackhandler.SendMode
- func (m *MockSentPacketHandler) SentPacket(arg0 time.Time, arg1, arg2 protocol.PacketNumber, ...)
- func (m *MockSentPacketHandler) SetHandshakeConfirmed()
- func (m *MockSentPacketHandler) SetMaxBandwidth(arg0 congestion.Bandwidth)
- func (m *MockSentPacketHandler) SetMaxDatagramSize(arg0 protocol.ByteCount)
- func (m *MockSentPacketHandler) TimeUntilSend() time.Time
- type MockSentPacketHandlerMockRecorder
- func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 any) *SentPacketHandlerDropPacketsCall
- func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *SentPacketHandlerECNModeCall
- func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *SentPacketHandlerGetLossDetectionTimeoutCall
- func (mr *MockSentPacketHandlerMockRecorder) GetMaxBandwidth() *SentPacketHandlerGetMaxBandwidthCall
- func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *SentPacketHandlerOnLossDetectionTimeoutCall
- func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *SentPacketHandlerPeekPacketNumberCall
- func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *SentPacketHandlerPopPacketNumberCall
- func (mr *MockSentPacketHandlerMockRecorder) QueueProbePacket(arg0 any) *SentPacketHandlerQueueProbePacketCall
- func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2 any) *SentPacketHandlerReceivedAckCall
- func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *SentPacketHandlerReceivedBytesCall
- func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *SentPacketHandlerResetForRetryCall
- func (mr *MockSentPacketHandlerMockRecorder) SendMode(arg0 any) *SentPacketHandlerSendModeCall
- func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *SentPacketHandlerSentPacketCall
- func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *SentPacketHandlerSetHandshakeConfirmedCall
- func (mr *MockSentPacketHandlerMockRecorder) SetMaxBandwidth(arg0 any) *SentPacketHandlerSetMaxBandwidthCall
- func (mr *MockSentPacketHandlerMockRecorder) SetMaxDatagramSize(arg0 any) *SentPacketHandlerSetMaxDatagramSizeCall
- func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *SentPacketHandlerTimeUntilSendCall
- type ReceivedPacketHandlerDropPacketsCall
- func (c *ReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
- func (c *ReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
- func (c *ReceivedPacketHandlerDropPacketsCall) Return() *ReceivedPacketHandlerDropPacketsCall
- type ReceivedPacketHandlerGetAckFrameCall
- func (c *ReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
- func (c *ReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
- func (c *ReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
- type ReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
- type ReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Return(arg0 bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
- type ReceivedPacketHandlerReceivedPacketCall
- func (c *ReceivedPacketHandlerReceivedPacketCall) Do(...) *ReceivedPacketHandlerReceivedPacketCall
- func (c *ReceivedPacketHandlerReceivedPacketCall) DoAndReturn(...) *ReceivedPacketHandlerReceivedPacketCall
- func (c *ReceivedPacketHandlerReceivedPacketCall) Return(arg0 error) *ReceivedPacketHandlerReceivedPacketCall
- type SentPacketHandlerDropPacketsCall
- func (c *SentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
- func (c *SentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
- func (c *SentPacketHandlerDropPacketsCall) Return() *SentPacketHandlerDropPacketsCall
- type SentPacketHandlerECNModeCall
- func (c *SentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
- func (c *SentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
- func (c *SentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *SentPacketHandlerECNModeCall
- type SentPacketHandlerGetLossDetectionTimeoutCall
- func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
- func (c *SentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
- func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Return(arg0 time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
- type SentPacketHandlerGetMaxBandwidthCall
- func (c *SentPacketHandlerGetMaxBandwidthCall) Do(f func() congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
- func (c *SentPacketHandlerGetMaxBandwidthCall) DoAndReturn(f func() congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
- func (c *SentPacketHandlerGetMaxBandwidthCall) Return(arg0 congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
- type SentPacketHandlerOnLossDetectionTimeoutCall
- func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
- func (c *SentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
- func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *SentPacketHandlerOnLossDetectionTimeoutCall
- type SentPacketHandlerPeekPacketNumberCall
- func (c *SentPacketHandlerPeekPacketNumberCall) Do(...) *SentPacketHandlerPeekPacketNumberCall
- func (c *SentPacketHandlerPeekPacketNumberCall) DoAndReturn(...) *SentPacketHandlerPeekPacketNumberCall
- func (c *SentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *SentPacketHandlerPeekPacketNumberCall
- type SentPacketHandlerPopPacketNumberCall
- func (c *SentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
- func (c *SentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
- func (c *SentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
- type SentPacketHandlerQueueProbePacketCall
- func (c *SentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
- func (c *SentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
- func (c *SentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *SentPacketHandlerQueueProbePacketCall
- type SentPacketHandlerReceivedAckCall
- func (c *SentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
- func (c *SentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
- func (c *SentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *SentPacketHandlerReceivedAckCall
- type SentPacketHandlerReceivedBytesCall
- func (c *SentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
- func (c *SentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
- func (c *SentPacketHandlerReceivedBytesCall) Return() *SentPacketHandlerReceivedBytesCall
- type SentPacketHandlerResetForRetryCall
- func (c *SentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
- func (c *SentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
- func (c *SentPacketHandlerResetForRetryCall) Return(arg0 error) *SentPacketHandlerResetForRetryCall
- type SentPacketHandlerSendModeCall
- func (c *SentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
- func (c *SentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
- func (c *SentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *SentPacketHandlerSendModeCall
- type SentPacketHandlerSentPacketCall
- func (c *SentPacketHandlerSentPacketCall) Do(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, ...)) *SentPacketHandlerSentPacketCall
- func (c *SentPacketHandlerSentPacketCall) DoAndReturn(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, ...)) *SentPacketHandlerSentPacketCall
- func (c *SentPacketHandlerSentPacketCall) Return() *SentPacketHandlerSentPacketCall
- type SentPacketHandlerSetHandshakeConfirmedCall
- func (c *SentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
- func (c *SentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
- func (c *SentPacketHandlerSetHandshakeConfirmedCall) Return() *SentPacketHandlerSetHandshakeConfirmedCall
- type SentPacketHandlerSetMaxBandwidthCall
- func (c *SentPacketHandlerSetMaxBandwidthCall) Do(f func(congestion.Bandwidth)) *SentPacketHandlerSetMaxBandwidthCall
- func (c *SentPacketHandlerSetMaxBandwidthCall) DoAndReturn(f func(congestion.Bandwidth)) *SentPacketHandlerSetMaxBandwidthCall
- func (c *SentPacketHandlerSetMaxBandwidthCall) Return() *SentPacketHandlerSetMaxBandwidthCall
- type SentPacketHandlerSetMaxDatagramSizeCall
- func (c *SentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
- func (c *SentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
- func (c *SentPacketHandlerSetMaxDatagramSizeCall) Return() *SentPacketHandlerSetMaxDatagramSizeCall
- type SentPacketHandlerTimeUntilSendCall
- func (c *SentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
- func (c *SentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
- func (c *SentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *SentPacketHandlerTimeUntilSendCall
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) DropPackets ¶
func (m *MockReceivedPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)
DropPackets mocks base method.
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(arg0 protocol.EncryptionLevel, arg1 bool) *wire.AckFrame
GetAckFrame mocks base method.
func (*MockReceivedPacketHandler) GetAlarmTimeout ¶
func (m *MockReceivedPacketHandler) GetAlarmTimeout() time.Time
GetAlarmTimeout mocks base method.
func (*MockReceivedPacketHandler) IsPotentiallyDuplicate ¶
func (m *MockReceivedPacketHandler) IsPotentiallyDuplicate(arg0 protocol.PacketNumber, arg1 protocol.EncryptionLevel) bool
IsPotentiallyDuplicate mocks base method.
func (*MockReceivedPacketHandler) ReceivedPacket ¶
func (m *MockReceivedPacketHandler) ReceivedPacket(arg0 protocol.PacketNumber, arg1 protocol.ECN, arg2 protocol.EncryptionLevel, arg3 time.Time, arg4 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) DropPackets ¶
func (mr *MockReceivedPacketHandlerMockRecorder) DropPackets(arg0 any) *ReceivedPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockReceivedPacketHandlerMockRecorder) GetAckFrame ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame(arg0, arg1 any) *ReceivedPacketHandlerGetAckFrameCall
GetAckFrame indicates an expected call of GetAckFrame.
func (*MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *ReceivedPacketHandlerGetAlarmTimeoutCall
GetAlarmTimeout indicates an expected call of GetAlarmTimeout.
func (*MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate ¶
func (mr *MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate(arg0, arg1 any) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
IsPotentiallyDuplicate indicates an expected call of IsPotentiallyDuplicate.
func (*MockReceivedPacketHandlerMockRecorder) ReceivedPacket ¶
func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2, arg3, arg4 any) *ReceivedPacketHandlerReceivedPacketCall
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) DropPackets ¶
func (m *MockSentPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)
DropPackets mocks base method.
func (*MockSentPacketHandler) ECNMode ¶
func (m *MockSentPacketHandler) ECNMode(arg0 bool) protocol.ECN
ECNMode 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) GetLossDetectionTimeout ¶
func (m *MockSentPacketHandler) GetLossDetectionTimeout() time.Time
GetLossDetectionTimeout mocks base method.
func (*MockSentPacketHandler) GetMaxBandwidth ¶
func (m *MockSentPacketHandler) GetMaxBandwidth() congestion.Bandwidth
GetMaxBandwidth mocks base method.
func (*MockSentPacketHandler) OnLossDetectionTimeout ¶
func (m *MockSentPacketHandler) OnLossDetectionTimeout() error
OnLossDetectionTimeout mocks base method.
func (*MockSentPacketHandler) PeekPacketNumber ¶
func (m *MockSentPacketHandler) PeekPacketNumber(arg0 protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)
PeekPacketNumber mocks base method.
func (*MockSentPacketHandler) PopPacketNumber ¶
func (m *MockSentPacketHandler) PopPacketNumber(arg0 protocol.EncryptionLevel) protocol.PacketNumber
PopPacketNumber mocks base method.
func (*MockSentPacketHandler) QueueProbePacket ¶
func (m *MockSentPacketHandler) QueueProbePacket(arg0 protocol.EncryptionLevel) bool
QueueProbePacket mocks base method.
func (*MockSentPacketHandler) ReceivedAck ¶
func (m *MockSentPacketHandler) ReceivedAck(arg0 *wire.AckFrame, arg1 protocol.EncryptionLevel, arg2 time.Time) (bool, error)
ReceivedAck mocks base method.
func (*MockSentPacketHandler) ReceivedBytes ¶
func (m *MockSentPacketHandler) ReceivedBytes(arg0 protocol.ByteCount)
ReceivedBytes mocks base method.
func (*MockSentPacketHandler) ResetForRetry ¶
func (m *MockSentPacketHandler) ResetForRetry(arg0 time.Time) error
ResetForRetry mocks base method.
func (*MockSentPacketHandler) SendMode ¶
func (m *MockSentPacketHandler) SendMode(arg0 time.Time) ackhandler.SendMode
SendMode mocks base method.
func (*MockSentPacketHandler) SentPacket ¶
func (m *MockSentPacketHandler) SentPacket(arg0 time.Time, arg1, arg2 protocol.PacketNumber, arg3 []ackhandler.StreamFrame, arg4 []ackhandler.Frame, arg5 protocol.EncryptionLevel, arg6 protocol.ECN, arg7 protocol.ByteCount, arg8 bool)
SentPacket mocks base method.
func (*MockSentPacketHandler) SetHandshakeConfirmed ¶
func (m *MockSentPacketHandler) SetHandshakeConfirmed()
SetHandshakeConfirmed mocks base method.
func (*MockSentPacketHandler) SetMaxBandwidth ¶
func (m *MockSentPacketHandler) SetMaxBandwidth(arg0 congestion.Bandwidth)
SetMaxBandwidth mocks base method.
func (*MockSentPacketHandler) SetMaxDatagramSize ¶
func (m *MockSentPacketHandler) SetMaxDatagramSize(arg0 protocol.ByteCount)
SetMaxDatagramSize 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) DropPackets ¶
func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 any) *SentPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockSentPacketHandlerMockRecorder) ECNMode ¶
func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *SentPacketHandlerECNModeCall
ECNMode indicates an expected call of ECNMode.
func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout ¶
func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *SentPacketHandlerGetLossDetectionTimeoutCall
GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) GetMaxBandwidth ¶
func (mr *MockSentPacketHandlerMockRecorder) GetMaxBandwidth() *SentPacketHandlerGetMaxBandwidthCall
GetMaxBandwidth indicates an expected call of GetMaxBandwidth.
func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout ¶
func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *SentPacketHandlerOnLossDetectionTimeoutCall
OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber ¶
func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *SentPacketHandlerPeekPacketNumberCall
PeekPacketNumber indicates an expected call of PeekPacketNumber.
func (*MockSentPacketHandlerMockRecorder) PopPacketNumber ¶
func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *SentPacketHandlerPopPacketNumberCall
PopPacketNumber indicates an expected call of PopPacketNumber.
func (*MockSentPacketHandlerMockRecorder) QueueProbePacket ¶
func (mr *MockSentPacketHandlerMockRecorder) QueueProbePacket(arg0 any) *SentPacketHandlerQueueProbePacketCall
QueueProbePacket indicates an expected call of QueueProbePacket.
func (*MockSentPacketHandlerMockRecorder) ReceivedAck ¶
func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2 any) *SentPacketHandlerReceivedAckCall
ReceivedAck indicates an expected call of ReceivedAck.
func (*MockSentPacketHandlerMockRecorder) ReceivedBytes ¶
func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *SentPacketHandlerReceivedBytesCall
ReceivedBytes indicates an expected call of ReceivedBytes.
func (*MockSentPacketHandlerMockRecorder) ResetForRetry ¶
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *SentPacketHandlerResetForRetryCall
ResetForRetry indicates an expected call of ResetForRetry.
func (*MockSentPacketHandlerMockRecorder) SendMode ¶
func (mr *MockSentPacketHandlerMockRecorder) SendMode(arg0 any) *SentPacketHandlerSendModeCall
SendMode indicates an expected call of SendMode.
func (*MockSentPacketHandlerMockRecorder) SentPacket ¶
func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *SentPacketHandlerSentPacketCall
SentPacket indicates an expected call of SentPacket.
func (*MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed ¶
func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *SentPacketHandlerSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockSentPacketHandlerMockRecorder) SetMaxBandwidth ¶
func (mr *MockSentPacketHandlerMockRecorder) SetMaxBandwidth(arg0 any) *SentPacketHandlerSetMaxBandwidthCall
SetMaxBandwidth indicates an expected call of SetMaxBandwidth.
func (*MockSentPacketHandlerMockRecorder) SetMaxDatagramSize ¶
func (mr *MockSentPacketHandlerMockRecorder) SetMaxDatagramSize(arg0 any) *SentPacketHandlerSetMaxDatagramSizeCall
SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.
func (*MockSentPacketHandlerMockRecorder) TimeUntilSend ¶
func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *SentPacketHandlerTimeUntilSendCall
TimeUntilSend indicates an expected call of TimeUntilSend.
type ReceivedPacketHandlerDropPacketsCall ¶
ReceivedPacketHandlerDropPacketsCall wrap *gomock.Call
func (*ReceivedPacketHandlerDropPacketsCall) Do ¶
func (c *ReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerDropPacketsCall) DoAndReturn ¶
func (c *ReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerDropPacketsCall) Return ¶
func (c *ReceivedPacketHandlerDropPacketsCall) Return() *ReceivedPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerGetAckFrameCall ¶
ReceivedPacketHandlerGetAckFrameCall wrap *gomock.Call
func (*ReceivedPacketHandlerGetAckFrameCall) Do ¶
func (c *ReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerGetAckFrameCall) DoAndReturn ¶
func (c *ReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerGetAckFrameCall) Return ¶
func (c *ReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerGetAlarmTimeoutCall ¶
ReceivedPacketHandlerGetAlarmTimeoutCall wrap *gomock.Call
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) Do ¶
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn ¶
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) Return ¶
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerIsPotentiallyDuplicateCall ¶
ReceivedPacketHandlerIsPotentiallyDuplicateCall wrap *gomock.Call
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) Do ¶
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn ¶
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) Return ¶
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Return(arg0 bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerReceivedPacketCall ¶
ReceivedPacketHandlerReceivedPacketCall wrap *gomock.Call
func (*ReceivedPacketHandlerReceivedPacketCall) Do ¶
func (c *ReceivedPacketHandlerReceivedPacketCall) Do(f func(protocol.PacketNumber, protocol.ECN, protocol.EncryptionLevel, time.Time, bool) error) *ReceivedPacketHandlerReceivedPacketCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerReceivedPacketCall) DoAndReturn ¶
func (c *ReceivedPacketHandlerReceivedPacketCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ECN, protocol.EncryptionLevel, time.Time, bool) error) *ReceivedPacketHandlerReceivedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerReceivedPacketCall) Return ¶
func (c *ReceivedPacketHandlerReceivedPacketCall) Return(arg0 error) *ReceivedPacketHandlerReceivedPacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerDropPacketsCall ¶
SentPacketHandlerDropPacketsCall wrap *gomock.Call
func (*SentPacketHandlerDropPacketsCall) Do ¶
func (c *SentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerDropPacketsCall) DoAndReturn ¶
func (c *SentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerDropPacketsCall) Return ¶
func (c *SentPacketHandlerDropPacketsCall) Return() *SentPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerECNModeCall ¶
SentPacketHandlerECNModeCall wrap *gomock.Call
func (*SentPacketHandlerECNModeCall) Do ¶
func (c *SentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerECNModeCall) DoAndReturn ¶
func (c *SentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerECNModeCall) Return ¶
func (c *SentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *SentPacketHandlerECNModeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerGetLossDetectionTimeoutCall ¶
SentPacketHandlerGetLossDetectionTimeoutCall wrap *gomock.Call
func (*SentPacketHandlerGetLossDetectionTimeoutCall) Do ¶
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn ¶
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerGetLossDetectionTimeoutCall) Return ¶
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Return(arg0 time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerGetMaxBandwidthCall ¶
SentPacketHandlerGetMaxBandwidthCall wrap *gomock.Call
func (*SentPacketHandlerGetMaxBandwidthCall) Do ¶
func (c *SentPacketHandlerGetMaxBandwidthCall) Do(f func() congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerGetMaxBandwidthCall) DoAndReturn ¶
func (c *SentPacketHandlerGetMaxBandwidthCall) DoAndReturn(f func() congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerGetMaxBandwidthCall) Return ¶
func (c *SentPacketHandlerGetMaxBandwidthCall) Return(arg0 congestion.Bandwidth) *SentPacketHandlerGetMaxBandwidthCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerOnLossDetectionTimeoutCall ¶
SentPacketHandlerOnLossDetectionTimeoutCall wrap *gomock.Call
func (*SentPacketHandlerOnLossDetectionTimeoutCall) Do ¶
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn ¶
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerOnLossDetectionTimeoutCall) Return ¶
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *SentPacketHandlerOnLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerPeekPacketNumberCall ¶
SentPacketHandlerPeekPacketNumberCall wrap *gomock.Call
func (*SentPacketHandlerPeekPacketNumberCall) Do ¶
func (c *SentPacketHandlerPeekPacketNumberCall) Do(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *SentPacketHandlerPeekPacketNumberCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerPeekPacketNumberCall) DoAndReturn ¶
func (c *SentPacketHandlerPeekPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *SentPacketHandlerPeekPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerPeekPacketNumberCall) Return ¶
func (c *SentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *SentPacketHandlerPeekPacketNumberCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerPopPacketNumberCall ¶
SentPacketHandlerPopPacketNumberCall wrap *gomock.Call
func (*SentPacketHandlerPopPacketNumberCall) Do ¶
func (c *SentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerPopPacketNumberCall) DoAndReturn ¶
func (c *SentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerPopPacketNumberCall) Return ¶
func (c *SentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerQueueProbePacketCall ¶
SentPacketHandlerQueueProbePacketCall wrap *gomock.Call
func (*SentPacketHandlerQueueProbePacketCall) Do ¶
func (c *SentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerQueueProbePacketCall) DoAndReturn ¶
func (c *SentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerQueueProbePacketCall) Return ¶
func (c *SentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *SentPacketHandlerQueueProbePacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerReceivedAckCall ¶
SentPacketHandlerReceivedAckCall wrap *gomock.Call
func (*SentPacketHandlerReceivedAckCall) Do ¶
func (c *SentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerReceivedAckCall) DoAndReturn ¶
func (c *SentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerReceivedAckCall) Return ¶
func (c *SentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *SentPacketHandlerReceivedAckCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerReceivedBytesCall ¶
SentPacketHandlerReceivedBytesCall wrap *gomock.Call
func (*SentPacketHandlerReceivedBytesCall) Do ¶
func (c *SentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerReceivedBytesCall) DoAndReturn ¶
func (c *SentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerReceivedBytesCall) Return ¶
func (c *SentPacketHandlerReceivedBytesCall) Return() *SentPacketHandlerReceivedBytesCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerResetForRetryCall ¶
SentPacketHandlerResetForRetryCall wrap *gomock.Call
func (*SentPacketHandlerResetForRetryCall) Do ¶
func (c *SentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerResetForRetryCall) DoAndReturn ¶
func (c *SentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerResetForRetryCall) Return ¶
func (c *SentPacketHandlerResetForRetryCall) Return(arg0 error) *SentPacketHandlerResetForRetryCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSendModeCall ¶
SentPacketHandlerSendModeCall wrap *gomock.Call
func (*SentPacketHandlerSendModeCall) Do ¶
func (c *SentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSendModeCall) DoAndReturn ¶
func (c *SentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSendModeCall) Return ¶
func (c *SentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *SentPacketHandlerSendModeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSentPacketCall ¶
SentPacketHandlerSentPacketCall wrap *gomock.Call
func (*SentPacketHandlerSentPacketCall) Do ¶
func (c *SentPacketHandlerSentPacketCall) Do(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, []ackhandler.StreamFrame, []ackhandler.Frame, protocol.EncryptionLevel, protocol.ECN, protocol.ByteCount, bool)) *SentPacketHandlerSentPacketCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSentPacketCall) DoAndReturn ¶
func (c *SentPacketHandlerSentPacketCall) DoAndReturn(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, []ackhandler.StreamFrame, []ackhandler.Frame, protocol.EncryptionLevel, protocol.ECN, protocol.ByteCount, bool)) *SentPacketHandlerSentPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSentPacketCall) Return ¶
func (c *SentPacketHandlerSentPacketCall) Return() *SentPacketHandlerSentPacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSetHandshakeConfirmedCall ¶
SentPacketHandlerSetHandshakeConfirmedCall wrap *gomock.Call
func (*SentPacketHandlerSetHandshakeConfirmedCall) Do ¶
func (c *SentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn ¶
func (c *SentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSetHandshakeConfirmedCall) Return ¶
func (c *SentPacketHandlerSetHandshakeConfirmedCall) Return() *SentPacketHandlerSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSetMaxBandwidthCall ¶
SentPacketHandlerSetMaxBandwidthCall wrap *gomock.Call
func (*SentPacketHandlerSetMaxBandwidthCall) Do ¶
func (c *SentPacketHandlerSetMaxBandwidthCall) Do(f func(congestion.Bandwidth)) *SentPacketHandlerSetMaxBandwidthCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSetMaxBandwidthCall) DoAndReturn ¶
func (c *SentPacketHandlerSetMaxBandwidthCall) DoAndReturn(f func(congestion.Bandwidth)) *SentPacketHandlerSetMaxBandwidthCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSetMaxBandwidthCall) Return ¶
func (c *SentPacketHandlerSetMaxBandwidthCall) Return() *SentPacketHandlerSetMaxBandwidthCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSetMaxDatagramSizeCall ¶
SentPacketHandlerSetMaxDatagramSizeCall wrap *gomock.Call
func (*SentPacketHandlerSetMaxDatagramSizeCall) Do ¶
func (c *SentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn ¶
func (c *SentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSetMaxDatagramSizeCall) Return ¶
func (c *SentPacketHandlerSetMaxDatagramSizeCall) Return() *SentPacketHandlerSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerTimeUntilSendCall ¶
SentPacketHandlerTimeUntilSendCall wrap *gomock.Call
func (*SentPacketHandlerTimeUntilSendCall) Do ¶
func (c *SentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerTimeUntilSendCall) DoAndReturn ¶
func (c *SentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerTimeUntilSendCall) Return ¶
func (c *SentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *SentPacketHandlerTimeUntilSendCall
Return rewrite *gomock.Call.Return