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 ¶
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 MockReceivedPacketHandlerDropPacketsCall ¶
MockReceivedPacketHandlerDropPacketsCall wrap *gomock.Call
func (*MockReceivedPacketHandlerDropPacketsCall) Do ¶
func (c *MockReceivedPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerDropPacketsCall) DoAndReturn ¶
func (c *MockReceivedPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockReceivedPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerDropPacketsCall) Return ¶
func (c *MockReceivedPacketHandlerDropPacketsCall) Return() *MockReceivedPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerGetAckFrameCall ¶
MockReceivedPacketHandlerGetAckFrameCall wrap *gomock.Call
func (*MockReceivedPacketHandlerGetAckFrameCall) Do ¶
func (c *MockReceivedPacketHandlerGetAckFrameCall) Do(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerGetAckFrameCall) DoAndReturn ¶
func (c *MockReceivedPacketHandlerGetAckFrameCall) DoAndReturn(f func(protocol.EncryptionLevel, bool) *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerGetAckFrameCall) Return ¶
func (c *MockReceivedPacketHandlerGetAckFrameCall) Return(arg0 *wire.AckFrame) *MockReceivedPacketHandlerGetAckFrameCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerGetAlarmTimeoutCall ¶
MockReceivedPacketHandlerGetAlarmTimeoutCall wrap *gomock.Call
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) Do ¶
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Do(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn ¶
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) DoAndReturn(f func() time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerGetAlarmTimeoutCall) Return ¶
func (c *MockReceivedPacketHandlerGetAlarmTimeoutCall) Return(arg0 time.Time) *MockReceivedPacketHandlerGetAlarmTimeoutCall
Return rewrite *gomock.Call.Return
type MockReceivedPacketHandlerIsPotentiallyDuplicateCall ¶
MockReceivedPacketHandlerIsPotentiallyDuplicateCall wrap *gomock.Call
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Do ¶
func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Do(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
Do rewrite *gomock.Call.Do
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn ¶
func (c *MockReceivedPacketHandlerIsPotentiallyDuplicateCall) DoAndReturn(f func(protocol.PacketNumber, protocol.EncryptionLevel) bool) *MockReceivedPacketHandlerIsPotentiallyDuplicateCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockReceivedPacketHandlerIsPotentiallyDuplicateCall) Return ¶
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 ¶
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 ¶
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 ¶
MockReceivedPacketHandlerReceivedPacketCall wrap *gomock.Call
func (*MockReceivedPacketHandlerReceivedPacketCall) Do ¶
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 ¶
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 ¶
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 ¶
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) 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) 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 MockSentPacketHandlerDropPacketsCall ¶
MockSentPacketHandlerDropPacketsCall wrap *gomock.Call
func (*MockSentPacketHandlerDropPacketsCall) Do ¶
func (c *MockSentPacketHandlerDropPacketsCall) Do(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerDropPacketsCall) DoAndReturn ¶
func (c *MockSentPacketHandlerDropPacketsCall) DoAndReturn(f func(protocol.EncryptionLevel)) *MockSentPacketHandlerDropPacketsCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerDropPacketsCall) Return ¶
func (c *MockSentPacketHandlerDropPacketsCall) Return() *MockSentPacketHandlerDropPacketsCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerECNModeCall ¶
MockSentPacketHandlerECNModeCall wrap *gomock.Call
func (*MockSentPacketHandlerECNModeCall) Do ¶
func (c *MockSentPacketHandlerECNModeCall) Do(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerECNModeCall) DoAndReturn ¶
func (c *MockSentPacketHandlerECNModeCall) DoAndReturn(f func(bool) protocol.ECN) *MockSentPacketHandlerECNModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerECNModeCall) Return ¶
func (c *MockSentPacketHandlerECNModeCall) Return(arg0 protocol.ECN) *MockSentPacketHandlerECNModeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerGetLossDetectionTimeoutCall ¶
MockSentPacketHandlerGetLossDetectionTimeoutCall wrap *gomock.Call
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) Do ¶
func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) Do(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn ¶
func (c *MockSentPacketHandlerGetLossDetectionTimeoutCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerGetLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerGetLossDetectionTimeoutCall) Return ¶
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 ¶
func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 any) *MockSentPacketHandlerDropPacketsCall
DropPackets indicates an expected call of DropPackets.
func (*MockSentPacketHandlerMockRecorder) ECNMode ¶
func (mr *MockSentPacketHandlerMockRecorder) ECNMode(arg0 any) *MockSentPacketHandlerECNModeCall
ECNMode indicates an expected call of ECNMode.
func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout ¶
func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *MockSentPacketHandlerGetLossDetectionTimeoutCall
GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout ¶
func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *MockSentPacketHandlerOnLossDetectionTimeoutCall
OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout.
func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber ¶
func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 any) *MockSentPacketHandlerPeekPacketNumberCall
PeekPacketNumber indicates an expected call of PeekPacketNumber.
func (*MockSentPacketHandlerMockRecorder) PopPacketNumber ¶
func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 any) *MockSentPacketHandlerPopPacketNumberCall
PopPacketNumber indicates an expected call of PopPacketNumber.
func (*MockSentPacketHandlerMockRecorder) QueueProbePacket ¶
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 ¶
func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 any) *MockSentPacketHandlerReceivedBytesCall
ReceivedBytes indicates an expected call of ReceivedBytes.
func (*MockSentPacketHandlerMockRecorder) ResetForRetry ¶
func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry(arg0 any) *MockSentPacketHandlerResetForRetryCall
ResetForRetry indicates an expected call of ResetForRetry.
func (*MockSentPacketHandlerMockRecorder) SendMode ¶
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 ¶
func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *MockSentPacketHandlerSetHandshakeConfirmedCall
SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.
func (*MockSentPacketHandlerMockRecorder) SetMaxDatagramSize ¶
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 ¶
MockSentPacketHandlerOnLossDetectionTimeoutCall wrap *gomock.Call
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) Do ¶
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Do(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn ¶
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) DoAndReturn(f func() error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerOnLossDetectionTimeoutCall) Return ¶
func (c *MockSentPacketHandlerOnLossDetectionTimeoutCall) Return(arg0 error) *MockSentPacketHandlerOnLossDetectionTimeoutCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerPeekPacketNumberCall ¶
MockSentPacketHandlerPeekPacketNumberCall wrap *gomock.Call
func (*MockSentPacketHandlerPeekPacketNumberCall) Do ¶
func (c *MockSentPacketHandlerPeekPacketNumberCall) Do(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *MockSentPacketHandlerPeekPacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerPeekPacketNumberCall) DoAndReturn ¶
func (c *MockSentPacketHandlerPeekPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)) *MockSentPacketHandlerPeekPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerPeekPacketNumberCall) Return ¶
func (c *MockSentPacketHandlerPeekPacketNumberCall) Return(arg0 protocol.PacketNumber, arg1 protocol.PacketNumberLen) *MockSentPacketHandlerPeekPacketNumberCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerPopPacketNumberCall ¶
MockSentPacketHandlerPopPacketNumberCall wrap *gomock.Call
func (*MockSentPacketHandlerPopPacketNumberCall) Do ¶
func (c *MockSentPacketHandlerPopPacketNumberCall) Do(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerPopPacketNumberCall) DoAndReturn ¶
func (c *MockSentPacketHandlerPopPacketNumberCall) DoAndReturn(f func(protocol.EncryptionLevel) protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerPopPacketNumberCall) Return ¶
func (c *MockSentPacketHandlerPopPacketNumberCall) Return(arg0 protocol.PacketNumber) *MockSentPacketHandlerPopPacketNumberCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerQueueProbePacketCall ¶
MockSentPacketHandlerQueueProbePacketCall wrap *gomock.Call
func (*MockSentPacketHandlerQueueProbePacketCall) Do ¶
func (c *MockSentPacketHandlerQueueProbePacketCall) Do(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerQueueProbePacketCall) DoAndReturn ¶
func (c *MockSentPacketHandlerQueueProbePacketCall) DoAndReturn(f func(protocol.EncryptionLevel) bool) *MockSentPacketHandlerQueueProbePacketCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerQueueProbePacketCall) Return ¶
func (c *MockSentPacketHandlerQueueProbePacketCall) Return(arg0 bool) *MockSentPacketHandlerQueueProbePacketCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerReceivedAckCall ¶
MockSentPacketHandlerReceivedAckCall wrap *gomock.Call
func (*MockSentPacketHandlerReceivedAckCall) Do ¶
func (c *MockSentPacketHandlerReceivedAckCall) Do(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerReceivedAckCall) DoAndReturn ¶
func (c *MockSentPacketHandlerReceivedAckCall) DoAndReturn(f func(*wire.AckFrame, protocol.EncryptionLevel, time.Time) (bool, error)) *MockSentPacketHandlerReceivedAckCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerReceivedAckCall) Return ¶
func (c *MockSentPacketHandlerReceivedAckCall) Return(arg0 bool, arg1 error) *MockSentPacketHandlerReceivedAckCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerReceivedBytesCall ¶
MockSentPacketHandlerReceivedBytesCall wrap *gomock.Call
func (*MockSentPacketHandlerReceivedBytesCall) Do ¶
func (c *MockSentPacketHandlerReceivedBytesCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerReceivedBytesCall) DoAndReturn ¶
func (c *MockSentPacketHandlerReceivedBytesCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerReceivedBytesCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerReceivedBytesCall) Return ¶
func (c *MockSentPacketHandlerReceivedBytesCall) Return() *MockSentPacketHandlerReceivedBytesCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerResetForRetryCall ¶
MockSentPacketHandlerResetForRetryCall wrap *gomock.Call
func (*MockSentPacketHandlerResetForRetryCall) Do ¶
func (c *MockSentPacketHandlerResetForRetryCall) Do(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerResetForRetryCall) DoAndReturn ¶
func (c *MockSentPacketHandlerResetForRetryCall) DoAndReturn(f func(time.Time) error) *MockSentPacketHandlerResetForRetryCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerResetForRetryCall) Return ¶
func (c *MockSentPacketHandlerResetForRetryCall) Return(arg0 error) *MockSentPacketHandlerResetForRetryCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSendModeCall ¶
MockSentPacketHandlerSendModeCall wrap *gomock.Call
func (*MockSentPacketHandlerSendModeCall) Do ¶
func (c *MockSentPacketHandlerSendModeCall) Do(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSendModeCall) DoAndReturn ¶
func (c *MockSentPacketHandlerSendModeCall) DoAndReturn(f func(time.Time) ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSendModeCall) Return ¶
func (c *MockSentPacketHandlerSendModeCall) Return(arg0 ackhandler.SendMode) *MockSentPacketHandlerSendModeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSentPacketCall ¶
MockSentPacketHandlerSentPacketCall wrap *gomock.Call
func (*MockSentPacketHandlerSentPacketCall) Do ¶
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 ¶
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 ¶
func (c *MockSentPacketHandlerSentPacketCall) Return() *MockSentPacketHandlerSentPacketCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSetHandshakeConfirmedCall ¶
MockSentPacketHandlerSetHandshakeConfirmedCall wrap *gomock.Call
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) Do ¶
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Do(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn ¶
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) DoAndReturn(f func()) *MockSentPacketHandlerSetHandshakeConfirmedCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSetHandshakeConfirmedCall) Return ¶
func (c *MockSentPacketHandlerSetHandshakeConfirmedCall) Return() *MockSentPacketHandlerSetHandshakeConfirmedCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerSetMaxDatagramSizeCall ¶
MockSentPacketHandlerSetMaxDatagramSizeCall wrap *gomock.Call
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) Do ¶
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Do(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn ¶
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) DoAndReturn(f func(protocol.ByteCount)) *MockSentPacketHandlerSetMaxDatagramSizeCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerSetMaxDatagramSizeCall) Return ¶
func (c *MockSentPacketHandlerSetMaxDatagramSizeCall) Return() *MockSentPacketHandlerSetMaxDatagramSizeCall
Return rewrite *gomock.Call.Return
type MockSentPacketHandlerTimeUntilSendCall ¶
MockSentPacketHandlerTimeUntilSendCall wrap *gomock.Call
func (*MockSentPacketHandlerTimeUntilSendCall) Do ¶
func (c *MockSentPacketHandlerTimeUntilSendCall) Do(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
Do rewrite *gomock.Call.Do
func (*MockSentPacketHandlerTimeUntilSendCall) DoAndReturn ¶
func (c *MockSentPacketHandlerTimeUntilSendCall) DoAndReturn(f func() time.Time) *MockSentPacketHandlerTimeUntilSendCall
DoAndReturn rewrite *gomock.Call.DoAndReturn
func (*MockSentPacketHandlerTimeUntilSendCall) Return ¶
func (c *MockSentPacketHandlerTimeUntilSendCall) Return(arg0 time.Time) *MockSentPacketHandlerTimeUntilSendCall
Return rewrite *gomock.Call.Return