Documentation ¶
Overview ¶
Package mockackhandler is a generated GoMock package.
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 MockReceivedPacketHandlerDropPacketsCall
- func (c *MockReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
- func (c *MockReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
- func (c *MockReceivedPacketHandlerDropPacketsCall) Return() *MockReceivedPacketHandlerDropPacketsCall
- type MockReceivedPacketHandlerGetAckFrameCall
- func (c *MockReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
- func (c *MockReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
- func (c *MockReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
- type MockReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
- func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
- type MockReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Return(arg0 bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
- type MockReceivedPacketHandlerMockRecorder
- func (mr *MockReceivedPacketHandlerMockRecorder) DropPackets(arg0 any) *MockReceivedPacketHandlerDropPacketsCall
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame(arg0, arg1 any) *MockReceivedPacketHandlerGetAckFrameCall
- func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *MockReceivedPacketHandlerGetAlarmTimeoutCall
- func (mr *MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate(arg0, arg1 any) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
- func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2, arg3, arg4 any) *MockReceivedPacketHandlerReceivedPacketCall
- type MockReceivedPacketHandlerReceivedPacketCall
- func (c *MockReceivedPacketHandlerReceivedPacketCall) Do(...) *MockReceivedPacketHandlerReceivedPacketCall
- func (c *MockReceivedPacketHandlerReceivedPacketCall) DoAndReturn(...) *MockReceivedPacketHandlerReceivedPacketCall
- func (c *MockReceivedPacketHandlerReceivedPacketCall) Return(arg0 error) *MockReceivedPacketHandlerReceivedPacketCall
- 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 MockSentPacketHandlerDropPacketsCall
- func (c *MockSentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
- func (c *MockSentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
- func (c *MockSentPacketHandlerDropPacketsCall) Return() *MockSentPacketHandlerDropPacketsCall
- type MockSentPacketHandlerECNModeCall
- func (c *MockSentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
- func (c *MockSentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
- func (c *MockSentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *MockSentPacketHandlerECNModeCall
- type MockSentPacketHandlerGetLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) Return(arg0 time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
- type MockSentPacketHandlerMockRecorder
- func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 any) *MockSentPacketHandlerDropPacketsCall
- func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *MockSentPacketHandlerECNModeCall
- func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *MockSentPacketHandlerGetLossDetectionTimeoutCall
- func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *MockSentPacketHandlerOnLossDetectionTimeoutCall
- func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *MockSentPacketHandlerPeekPacketNumberCall
- func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *MockSentPacketHandlerPopPacketNumberCall
- func (mr *MockSentPacketHandlerMockRecorder) QueueProbePacket(arg0 any) *MockSentPacketHandlerQueueProbePacketCall
- func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2 any) *MockSentPacketHandlerReceivedAckCall
- func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *MockSentPacketHandlerReceivedBytesCall
- func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *MockSentPacketHandlerResetForRetryCall
- func (mr *MockSentPacketHandlerMockRecorder) SendMode(arg0 any) *MockSentPacketHandlerSendModeCall
- func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *MockSentPacketHandlerSentPacketCall
- func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *MockSentPacketHandlerSetHandshakeConfirmedCall
- func (mr *MockSentPacketHandlerMockRecorder) SetMaxDatagramSize(arg0 any) *MockSentPacketHandlerSetMaxDatagramSizeCall
- func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *MockSentPacketHandlerTimeUntilSendCall
- type MockSentPacketHandlerOnLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
- func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
- type MockSentPacketHandlerPeekPacketNumberCall
- func (c *MockSentPacketHandlerPeekPacketNumberCall) Do(...) *MockSentPacketHandlerPeekPacketNumberCall
- func (c *MockSentPacketHandlerPeekPacketNumberCall) DoAndReturn(...) *MockSentPacketHandlerPeekPacketNumberCall
- func (c *MockSentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *MockSentPacketHandlerPeekPacketNumberCall
- type MockSentPacketHandlerPopPacketNumberCall
- func (c *MockSentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
- func (c *MockSentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
- func (c *MockSentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
- type MockSentPacketHandlerQueueProbePacketCall
- func (c *MockSentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
- func (c *MockSentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
- func (c *MockSentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *MockSentPacketHandlerQueueProbePacketCall
- type MockSentPacketHandlerReceivedAckCall
- func (c *MockSentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
- func (c *MockSentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
- func (c *MockSentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *MockSentPacketHandlerReceivedAckCall
- type MockSentPacketHandlerReceivedBytesCall
- func (c *MockSentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
- func (c *MockSentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
- func (c *MockSentPacketHandlerReceivedBytesCall) Return() *MockSentPacketHandlerReceivedBytesCall
- type MockSentPacketHandlerResetForRetryCall
- func (c *MockSentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
- func (c *MockSentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
- func (c *MockSentPacketHandlerResetForRetryCall) Return(arg0 error) *MockSentPacketHandlerResetForRetryCall
- type MockSentPacketHandlerSendModeCall
- func (c *MockSentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
- func (c *MockSentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
- func (c *MockSentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
- type MockSentPacketHandlerSentPacketCall
- func (c *MockSentPacketHandlerSentPacketCall) Do(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, ...)) *MockSentPacketHandlerSentPacketCall
- func (c *MockSentPacketHandlerSentPacketCall) DoAndReturn(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, ...)) *MockSentPacketHandlerSentPacketCall
- func (c *MockSentPacketHandlerSentPacketCall) Return() *MockSentPacketHandlerSentPacketCall
- type MockSentPacketHandlerSetHandshakeConfirmedCall
- func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
- func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
- func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Return() *MockSentPacketHandlerSetHandshakeConfirmedCall
- type MockSentPacketHandlerSetMaxDatagramSizeCall
- func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
- func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
- func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Return() *MockSentPacketHandlerSetMaxDatagramSizeCall
- type MockSentPacketHandlerTimeUntilSendCall
- func (c *MockSentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
- func (c *MockSentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
- func (c *MockSentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *MockSentPacketHandlerTimeUntilSendCall
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 MockReceivedPacketHandlerDropPacketsCall ¶ added in v0.42.0
MockReceivedPacketHandlerDropPacketsCall wrap *gomock.Call
func (*MockReceivedPacketHandlerDropPacketsCall) Do ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerDropPacketsCall) DoAndReturn ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerDropPacketsCall) Return ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerDropPacketsCall) Return() *MockReceivedPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerGetAckFrameCall ¶ added in v0.42.0
MockReceivedPacketHandlerGetAckFrameCall wrap *gomock.Call
func (*MockReceivedPacketHandlerGetAckFrameCall) Do ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerGetAckFrameCall) DoAndReturn ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerGetAckFrameCall) Return ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerGetAlarmTimeoutCall ¶ added in v0.42.0
MockReceivedPacketHandlerGetAlarmTimeoutCall wrap *gomock.Call
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) Do ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) Return ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerIsPotentiallyDuplicateCall ¶ added in v0.42.0
MockReceivedPacketHandlerIsPotentiallyDuplicateCall wrap *gomock.Call
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Do ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Return ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Return(arg0 bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
Return rewrite *gomock.Call.Return
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) *MockReceivedPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockReceivedPacketHandlerMockRecorder) GetAckFrame ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame(arg0, arg1 any) *MockReceivedPacketHandlerGetAckFrameCall
GetAckFrame indicates an expected call of GetAckFrame.
func (*MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout ¶
func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *MockReceivedPacketHandlerGetAlarmTimeoutCall
GetAlarmTimeout indicates an expected call of GetAlarmTimeout.
func (*MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate ¶ added in v0.32.0
func (mr *MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate(arg0, arg1 any) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
IsPotentiallyDuplicate indicates an expected call of IsPotentiallyDuplicate.
func (*MockReceivedPacketHandlerMockRecorder) ReceivedPacket ¶
func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2, arg3, arg4 any) *MockReceivedPacketHandlerReceivedPacketCall
ReceivedPacket indicates an expected call of ReceivedPacket.
type MockReceivedPacketHandlerReceivedPacketCall ¶ added in v0.42.0
MockReceivedPacketHandlerReceivedPacketCall wrap *gomock.Call
func (*MockReceivedPacketHandlerReceivedPacketCall) Do ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerReceivedPacketCall) Do(f func(protocol.PacketNumber, protocol.ECN, protocol.EncryptionLevel, time.Time, bool) error) *MockReceivedPacketHandlerReceivedPacketCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerReceivedPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerReceivedPacketCall) DoAndReturn(f func(protocol.PacketNumber, protocol.ECN, protocol.EncryptionLevel, time.Time, bool) error) *MockReceivedPacketHandlerReceivedPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerReceivedPacketCall) Return ¶ added in v0.42.0
func (c *MockReceivedPacketHandlerReceivedPacketCall) Return(arg0 error) *MockReceivedPacketHandlerReceivedPacketCall
Return rewrite *gomock.Call.Return
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 MockSentPacketHandlerDropPacketsCall ¶ added in v0.42.0
MockSentPacketHandlerDropPacketsCall wrap *gomock.Call
func (*MockSentPacketHandlerDropPacketsCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerDropPacketsCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerDropPacketsCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerDropPacketsCall) Return() *MockSentPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerECNModeCall ¶ added in v0.42.0
MockSentPacketHandlerECNModeCall wrap *gomock.Call
func (*MockSentPacketHandlerECNModeCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerECNModeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerECNModeCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *MockSentPacketHandlerECNModeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerGetLossDetectionTimeoutCall ¶ added in v0.42.0
MockSentPacketHandlerGetLossDetectionTimeoutCall wrap *gomock.Call
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) Return(arg0 time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
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) *MockSentPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockSentPacketHandlerMockRecorder) ECNMode ¶ added in v0.39.0
func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *MockSentPacketHandlerECNModeCall
ECNMode indicates an expected call of ECNMode.
func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *MockSentPacketHandlerGetLossDetectionTimeoutCall
GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *MockSentPacketHandlerOnLossDetectionTimeoutCall
OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *MockSentPacketHandlerPeekPacketNumberCall
PeekPacketNumber indicates an expected call of PeekPacketNumber.
func (*MockSentPacketHandlerMockRecorder) PopPacketNumber ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *MockSentPacketHandlerPopPacketNumberCall
PopPacketNumber indicates an expected call of PopPacketNumber.
func (*MockSentPacketHandlerMockRecorder) QueueProbePacket ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) QueueProbePacket(arg0 any) *MockSentPacketHandlerQueueProbePacketCall
QueueProbePacket indicates an expected call of QueueProbePacket.
func (*MockSentPacketHandlerMockRecorder) ReceivedAck ¶
func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2 any) *MockSentPacketHandlerReceivedAckCall
ReceivedAck indicates an expected call of ReceivedAck.
func (*MockSentPacketHandlerMockRecorder) ReceivedBytes ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *MockSentPacketHandlerReceivedBytesCall
ReceivedBytes indicates an expected call of ReceivedBytes.
func (*MockSentPacketHandlerMockRecorder) ResetForRetry ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *MockSentPacketHandlerResetForRetryCall
ResetForRetry indicates an expected call of ResetForRetry.
func (*MockSentPacketHandlerMockRecorder) SendMode ¶ added in v0.8.0
func (mr *MockSentPacketHandlerMockRecorder) SendMode(arg0 any) *MockSentPacketHandlerSendModeCall
SendMode indicates an expected call of SendMode.
func (*MockSentPacketHandlerMockRecorder) SentPacket ¶
func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8 any) *MockSentPacketHandlerSentPacketCall
SentPacket indicates an expected call of SentPacket.
func (*MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *MockSentPacketHandlerSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockSentPacketHandlerMockRecorder) SetMaxDatagramSize ¶ added in v0.32.0
func (mr *MockSentPacketHandlerMockRecorder) SetMaxDatagramSize(arg0 any) *MockSentPacketHandlerSetMaxDatagramSizeCall
SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.
func (*MockSentPacketHandlerMockRecorder) TimeUntilSend ¶
func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *MockSentPacketHandlerTimeUntilSendCall
TimeUntilSend indicates an expected call of TimeUntilSend.
type MockSentPacketHandlerOnLossDetectionTimeoutCall ¶ added in v0.42.0
MockSentPacketHandlerOnLossDetectionTimeoutCall wrap *gomock.Call
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerPeekPacketNumberCall ¶ added in v0.42.0
MockSentPacketHandlerPeekPacketNumberCall wrap *gomock.Call
func (*MockSentPacketHandlerPeekPacketNumberCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerPeekPacketNumberCall) Do(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *MockSentPacketHandlerPeekPacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerPeekPacketNumberCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerPeekPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *MockSentPacketHandlerPeekPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerPeekPacketNumberCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *MockSentPacketHandlerPeekPacketNumberCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerPopPacketNumberCall ¶ added in v0.42.0
MockSentPacketHandlerPopPacketNumberCall wrap *gomock.Call
func (*MockSentPacketHandlerPopPacketNumberCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerPopPacketNumberCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerPopPacketNumberCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerQueueProbePacketCall ¶ added in v0.42.0
MockSentPacketHandlerQueueProbePacketCall wrap *gomock.Call
func (*MockSentPacketHandlerQueueProbePacketCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerQueueProbePacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerQueueProbePacketCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *MockSentPacketHandlerQueueProbePacketCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerReceivedAckCall ¶ added in v0.42.0
MockSentPacketHandlerReceivedAckCall wrap *gomock.Call
func (*MockSentPacketHandlerReceivedAckCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerReceivedAckCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerReceivedAckCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *MockSentPacketHandlerReceivedAckCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerReceivedBytesCall ¶ added in v0.42.0
MockSentPacketHandlerReceivedBytesCall wrap *gomock.Call
func (*MockSentPacketHandlerReceivedBytesCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerReceivedBytesCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerReceivedBytesCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerReceivedBytesCall) Return() *MockSentPacketHandlerReceivedBytesCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerResetForRetryCall ¶ added in v0.42.0
MockSentPacketHandlerResetForRetryCall wrap *gomock.Call
func (*MockSentPacketHandlerResetForRetryCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerResetForRetryCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerResetForRetryCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerResetForRetryCall) Return(arg0 error) *MockSentPacketHandlerResetForRetryCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSendModeCall ¶ added in v0.42.0
MockSentPacketHandlerSendModeCall wrap *gomock.Call
func (*MockSentPacketHandlerSendModeCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSendModeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSendModeCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSentPacketCall ¶ added in v0.42.0
MockSentPacketHandlerSentPacketCall wrap *gomock.Call
func (*MockSentPacketHandlerSentPacketCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerSentPacketCall) Do(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, []ackhandler.StreamFrame, []ackhandler.Frame, protocol.EncryptionLevel, protocol.ECN, protocol.ByteCount, bool)) *MockSentPacketHandlerSentPacketCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSentPacketCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerSentPacketCall) DoAndReturn(f func(time.Time, protocol.PacketNumber, protocol.PacketNumber, []ackhandler.StreamFrame, []ackhandler.Frame, protocol.EncryptionLevel, protocol.ECN, protocol.ByteCount, bool)) *MockSentPacketHandlerSentPacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSentPacketCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerSentPacketCall) Return() *MockSentPacketHandlerSentPacketCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSetHandshakeConfirmedCall ¶ added in v0.42.0
MockSentPacketHandlerSetHandshakeConfirmedCall wrap *gomock.Call
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Return() *MockSentPacketHandlerSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSetMaxDatagramSizeCall ¶ added in v0.42.0
MockSentPacketHandlerSetMaxDatagramSizeCall wrap *gomock.Call
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Return() *MockSentPacketHandlerSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerTimeUntilSendCall ¶ added in v0.42.0
MockSentPacketHandlerTimeUntilSendCall wrap *gomock.Call
func (*MockSentPacketHandlerTimeUntilSendCall) Do ¶ added in v0.42.0
func (c *MockSentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerTimeUntilSendCall) DoAndReturn ¶ added in v0.42.0
func (c *MockSentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerTimeUntilSendCall) Return ¶ added in v0.42.0
func (c *MockSentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *MockSentPacketHandlerTimeUntilSendCall
Return rewrite *gomock.Call.Return