Documentation ¶
Overview ¶
Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/ackhandler (interfaces: ReceivedPacketHandler)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mockackhandler -destination ackhandler/received_packet_handler.go github.com/quic-go/quic-go/internal/ackhandler ReceivedPacketHandler
Package mockackhandler is a generated GoMock package.
Code generated by MockGen. DO NOT EDIT. Source: github.com/quic-go/quic-go/internal/ackhandler (interfaces: SentPacketHandler)
Generated by this command:
mockgen -typed -build_flags=-tags=gomock -package mockackhandler -destination ackhandler/sent_packet_handler.go github.com/quic-go/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) 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) 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) 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) 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 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 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 ¶ added in v0.32.0
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 ¶ added in v0.32.0
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 ¶ added in v0.32.0
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 ¶ added in v0.32.0
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 ¶ added in v0.32.0
func (m *MockSentPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)
DropPackets mocks base method.
func (*MockSentPacketHandler) ECNMode ¶ added in v0.39.0
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 ¶ added in v0.32.0
func (m *MockSentPacketHandler) GetLossDetectionTimeout() time.Time
GetLossDetectionTimeout mocks base method.
func (*MockSentPacketHandler) OnLossDetectionTimeout ¶ added in v0.32.0
func (m *MockSentPacketHandler) OnLossDetectionTimeout() error
OnLossDetectionTimeout mocks base method.
func (*MockSentPacketHandler) PeekPacketNumber ¶ added in v0.32.0
func (m *MockSentPacketHandler) PeekPacketNumber(arg0 protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)
PeekPacketNumber mocks base method.
func (*MockSentPacketHandler) PopPacketNumber ¶ added in v0.32.0
func (m *MockSentPacketHandler) PopPacketNumber(arg0 protocol.EncryptionLevel) protocol.PacketNumber
PopPacketNumber mocks base method.
func (*MockSentPacketHandler) QueueProbePacket ¶ added in v0.32.0
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 ¶ added in v0.32.0
func (m *MockSentPacketHandler) ReceivedBytes(arg0 protocol.ByteCount)
ReceivedBytes mocks base method.
func (*MockSentPacketHandler) ResetForRetry ¶ added in v0.32.0
func (m *MockSentPacketHandler) ResetForRetry(arg0 time.Time) error
ResetForRetry mocks base method.
func (*MockSentPacketHandler) SendMode ¶ added in v0.8.0
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 ¶ added in v0.32.0
func (m *MockSentPacketHandler) SetHandshakeConfirmed()
SetHandshakeConfirmed mocks base method.
func (*MockSentPacketHandler) SetMaxDatagramSize ¶ added in v0.32.0
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 ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 any) *SentPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockSentPacketHandlerMockRecorder) ECNMode ¶ added in v0.39.0
func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *SentPacketHandlerECNModeCall
ECNMode indicates an expected call of ECNMode.
func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *SentPacketHandlerGetLossDetectionTimeoutCall
GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *SentPacketHandlerOnLossDetectionTimeoutCall
OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *SentPacketHandlerPeekPacketNumberCall
PeekPacketNumber indicates an expected call of PeekPacketNumber.
func (*MockSentPacketHandlerMockRecorder) PopPacketNumber ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *SentPacketHandlerPopPacketNumberCall
PopPacketNumber indicates an expected call of PopPacketNumber.
func (*MockSentPacketHandlerMockRecorder) QueueProbePacket ¶ added in v0.32.0
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 ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *SentPacketHandlerReceivedBytesCall
ReceivedBytes indicates an expected call of ReceivedBytes.
func (*MockSentPacketHandlerMockRecorder) ResetForRetry ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *SentPacketHandlerResetForRetryCall
ResetForRetry indicates an expected call of ResetForRetry.
func (*MockSentPacketHandlerMockRecorder) SendMode ¶ added in v0.8.0
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 ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *SentPacketHandlerSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockSentPacketHandlerMockRecorder) SetMaxDatagramSize ¶ added in v0.32.0
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 ¶ added in v0.40.0
ReceivedPacketHandlerDropPacketsCall wrap *gomock.Call
func (*ReceivedPacketHandlerDropPacketsCall) Do ¶ added in v0.40.0
func (c *ReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerDropPacketsCall) DoAndReturn ¶ added in v0.40.0
func (c *ReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *ReceivedPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerDropPacketsCall) Return ¶ added in v0.40.0
func (c *ReceivedPacketHandlerDropPacketsCall) Return() *ReceivedPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerGetAckFrameCall ¶ added in v0.40.0
ReceivedPacketHandlerGetAckFrameCall wrap *gomock.Call
func (*ReceivedPacketHandlerGetAckFrameCall) Do ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerGetAckFrameCall) DoAndReturn ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerGetAckFrameCall) Return ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *ReceivedPacketHandlerGetAckFrameCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerGetAlarmTimeoutCall ¶ added in v0.40.0
ReceivedPacketHandlerGetAlarmTimeoutCall wrap *gomock.Call
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) Do ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerGetAlarmTimeoutCall) Return ¶ added in v0.40.0
func (c *ReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *ReceivedPacketHandlerGetAlarmTimeoutCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerIsPotentiallyDuplicateCall ¶ added in v0.40.0
ReceivedPacketHandlerIsPotentiallyDuplicateCall wrap *gomock.Call
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) Do ¶ added in v0.40.0
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
Do rewrite *gomock.Call.Do
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn ¶ added in v0.40.0
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*ReceivedPacketHandlerIsPotentiallyDuplicateCall) Return ¶ added in v0.40.0
func (c *ReceivedPacketHandlerIsPotentiallyDuplicateCall) Return(arg0 bool) *ReceivedPacketHandlerIsPotentiallyDuplicateCall
Return rewrite *gomock.Call.Return
type ReceivedPacketHandlerReceivedPacketCall ¶ added in v0.40.0
ReceivedPacketHandlerReceivedPacketCall wrap *gomock.Call
func (*ReceivedPacketHandlerReceivedPacketCall) Do ¶ added in v0.40.0
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 ¶ added in v0.40.0
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 ¶ added in v0.40.0
func (c *ReceivedPacketHandlerReceivedPacketCall) Return(arg0 error) *ReceivedPacketHandlerReceivedPacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerDropPacketsCall ¶ added in v0.40.0
SentPacketHandlerDropPacketsCall wrap *gomock.Call
func (*SentPacketHandlerDropPacketsCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerDropPacketsCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *SentPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerDropPacketsCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerDropPacketsCall) Return() *SentPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerECNModeCall ¶ added in v0.40.0
SentPacketHandlerECNModeCall wrap *gomock.Call
func (*SentPacketHandlerECNModeCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerECNModeCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *SentPacketHandlerECNModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerECNModeCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *SentPacketHandlerECNModeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerGetLossDetectionTimeoutCall ¶ added in v0.40.0
SentPacketHandlerGetLossDetectionTimeoutCall wrap *gomock.Call
func (*SentPacketHandlerGetLossDetectionTimeoutCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerGetLossDetectionTimeoutCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerGetLossDetectionTimeoutCall) Return(arg0 time.Time) *SentPacketHandlerGetLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerOnLossDetectionTimeoutCall ¶ added in v0.40.0
SentPacketHandlerOnLossDetectionTimeoutCall wrap *gomock.Call
func (*SentPacketHandlerOnLossDetectionTimeoutCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *SentPacketHandlerOnLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerOnLossDetectionTimeoutCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *SentPacketHandlerOnLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerPeekPacketNumberCall ¶ added in v0.40.0
SentPacketHandlerPeekPacketNumberCall wrap *gomock.Call
func (*SentPacketHandlerPeekPacketNumberCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerPeekPacketNumberCall) Do(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *SentPacketHandlerPeekPacketNumberCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerPeekPacketNumberCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerPeekPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *SentPacketHandlerPeekPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerPeekPacketNumberCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *SentPacketHandlerPeekPacketNumberCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerPopPacketNumberCall ¶ added in v0.40.0
SentPacketHandlerPopPacketNumberCall wrap *gomock.Call
func (*SentPacketHandlerPopPacketNumberCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerPopPacketNumberCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerPopPacketNumberCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *SentPacketHandlerPopPacketNumberCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerQueueProbePacketCall ¶ added in v0.40.0
SentPacketHandlerQueueProbePacketCall wrap *gomock.Call
func (*SentPacketHandlerQueueProbePacketCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerQueueProbePacketCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *SentPacketHandlerQueueProbePacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerQueueProbePacketCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *SentPacketHandlerQueueProbePacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerReceivedAckCall ¶ added in v0.40.0
SentPacketHandlerReceivedAckCall wrap *gomock.Call
func (*SentPacketHandlerReceivedAckCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerReceivedAckCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *SentPacketHandlerReceivedAckCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerReceivedAckCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *SentPacketHandlerReceivedAckCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerReceivedBytesCall ¶ added in v0.40.0
SentPacketHandlerReceivedBytesCall wrap *gomock.Call
func (*SentPacketHandlerReceivedBytesCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerReceivedBytesCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerReceivedBytesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerReceivedBytesCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerReceivedBytesCall) Return() *SentPacketHandlerReceivedBytesCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerResetForRetryCall ¶ added in v0.40.0
SentPacketHandlerResetForRetryCall wrap *gomock.Call
func (*SentPacketHandlerResetForRetryCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerResetForRetryCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *SentPacketHandlerResetForRetryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerResetForRetryCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerResetForRetryCall) Return(arg0 error) *SentPacketHandlerResetForRetryCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSendModeCall ¶ added in v0.40.0
SentPacketHandlerSendModeCall wrap *gomock.Call
func (*SentPacketHandlerSendModeCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSendModeCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *SentPacketHandlerSendModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSendModeCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *SentPacketHandlerSendModeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSentPacketCall ¶ added in v0.40.0
SentPacketHandlerSentPacketCall wrap *gomock.Call
func (*SentPacketHandlerSentPacketCall) Do ¶ added in v0.40.0
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 ¶ added in v0.40.0
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 ¶ added in v0.40.0
func (c *SentPacketHandlerSentPacketCall) Return() *SentPacketHandlerSentPacketCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSetHandshakeConfirmedCall ¶ added in v0.40.0
SentPacketHandlerSetHandshakeConfirmedCall wrap *gomock.Call
func (*SentPacketHandlerSetHandshakeConfirmedCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *SentPacketHandlerSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSetHandshakeConfirmedCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerSetHandshakeConfirmedCall) Return() *SentPacketHandlerSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerSetMaxDatagramSizeCall ¶ added in v0.40.0
SentPacketHandlerSetMaxDatagramSizeCall wrap *gomock.Call
func (*SentPacketHandlerSetMaxDatagramSizeCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *SentPacketHandlerSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerSetMaxDatagramSizeCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerSetMaxDatagramSizeCall) Return() *SentPacketHandlerSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type SentPacketHandlerTimeUntilSendCall ¶ added in v0.40.0
SentPacketHandlerTimeUntilSendCall wrap *gomock.Call
func (*SentPacketHandlerTimeUntilSendCall) Do ¶ added in v0.40.0
func (c *SentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*SentPacketHandlerTimeUntilSendCall) DoAndReturn ¶ added in v0.40.0
func (c *SentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *SentPacketHandlerTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*SentPacketHandlerTimeUntilSendCall) Return ¶ added in v0.40.0
func (c *SentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *SentPacketHandlerTimeUntilSendCall
Return rewrite *gomock.Call.Return