mockackhandler

package
v0.0.0-...-7cb43f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 8, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package mockackhandler is a generated GoMock package.

Package mockackhandler is a generated GoMock package.

Index

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

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockReceivedPacketHandler) GetAckFrame

GetAckFrame mocks base method.

func (*MockReceivedPacketHandler) GetAlarmTimeout

func (m *MockReceivedPacketHandler) GetAlarmTimeout() time.Time

GetAlarmTimeout mocks base method.

func (*MockReceivedPacketHandler) IsPotentiallyDuplicate

func (m *MockReceivedPacketHandler) IsPotentiallyDuplicate(arg0 protocol.PacketNumber, arg1 protocol.EncryptionLevel) bool

IsPotentiallyDuplicate mocks base method.

func (*MockReceivedPacketHandler) ReceivedPacket

func (m *MockReceivedPacketHandler) ReceivedPacket(arg0 protocol.PacketNumber, arg1 protocol.ECN, arg2 protocol.EncryptionLevel, arg3 time.Time, arg4 bool) error

ReceivedPacket mocks base method.

type MockReceivedPacketHandlerMockRecorder

type MockReceivedPacketHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockReceivedPacketHandlerMockRecorder is the mock recorder for MockReceivedPacketHandler.

func (*MockReceivedPacketHandlerMockRecorder) DropPackets

func (mr *MockReceivedPacketHandlerMockRecorder) DropPackets(arg0 interface{}) *gomock.Call

DropPackets indicates an expected call of DropPackets.

func (*MockReceivedPacketHandlerMockRecorder) GetAckFrame

func (mr *MockReceivedPacketHandlerMockRecorder) GetAckFrame(arg0, arg1 interface{}) *gomock.Call

GetAckFrame indicates an expected call of GetAckFrame.

func (*MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout

func (mr *MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout() *gomock.Call

GetAlarmTimeout indicates an expected call of GetAlarmTimeout.

func (*MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate

func (mr *MockReceivedPacketHandlerMockRecorder) IsPotentiallyDuplicate(arg0, arg1 interface{}) *gomock.Call

IsPotentiallyDuplicate indicates an expected call of IsPotentiallyDuplicate.

func (*MockReceivedPacketHandlerMockRecorder) ReceivedPacket

func (mr *MockReceivedPacketHandlerMockRecorder) ReceivedPacket(arg0, arg1, arg2, arg3, arg4 interface{}) *gomock.Call

ReceivedPacket indicates an expected call of ReceivedPacket.

type MockSentPacketHandler

type MockSentPacketHandler struct {
	// contains filtered or unexported fields
}

MockSentPacketHandler is a mock of SentPacketHandler interface.

func NewMockSentPacketHandler

func NewMockSentPacketHandler(ctrl *gomock.Controller) *MockSentPacketHandler

NewMockSentPacketHandler creates a new mock instance.

func (*MockSentPacketHandler) DropPackets

func (m *MockSentPacketHandler) DropPackets(arg0 protocol.EncryptionLevel)

DropPackets mocks base method.

func (*MockSentPacketHandler) EXPECT

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) HasPacingBudget

func (m *MockSentPacketHandler) HasPacingBudget() bool

HasPacingBudget mocks base method.

func (*MockSentPacketHandler) OnLossDetectionTimeout

func (m *MockSentPacketHandler) OnLossDetectionTimeout() error

OnLossDetectionTimeout mocks base method.

func (*MockSentPacketHandler) PeekPacketNumber

PeekPacketNumber mocks base method.

func (*MockSentPacketHandler) PopPacketNumber

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) 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() error

ResetForRetry mocks base method.

func (*MockSentPacketHandler) SendMode

SendMode mocks base method.

func (*MockSentPacketHandler) SentPacket

func (m *MockSentPacketHandler) SentPacket(arg0 *ackhandler.Packet)

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 MockSentPacketHandlerMockRecorder

type MockSentPacketHandlerMockRecorder struct {
	// contains filtered or unexported fields
}

MockSentPacketHandlerMockRecorder is the mock recorder for MockSentPacketHandler.

func (*MockSentPacketHandlerMockRecorder) DropPackets

func (mr *MockSentPacketHandlerMockRecorder) DropPackets(arg0 interface{}) *gomock.Call

DropPackets indicates an expected call of DropPackets.

func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout

func (mr *MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout() *gomock.Call

GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout.

func (*MockSentPacketHandlerMockRecorder) HasPacingBudget

func (mr *MockSentPacketHandlerMockRecorder) HasPacingBudget() *gomock.Call

HasPacingBudget indicates an expected call of HasPacingBudget.

func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout

func (mr *MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout() *gomock.Call

OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout.

func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber

func (mr *MockSentPacketHandlerMockRecorder) PeekPacketNumber(arg0 interface{}) *gomock.Call

PeekPacketNumber indicates an expected call of PeekPacketNumber.

func (*MockSentPacketHandlerMockRecorder) PopPacketNumber

func (mr *MockSentPacketHandlerMockRecorder) PopPacketNumber(arg0 interface{}) *gomock.Call

PopPacketNumber indicates an expected call of PopPacketNumber.

func (*MockSentPacketHandlerMockRecorder) QueueProbePacket

func (mr *MockSentPacketHandlerMockRecorder) QueueProbePacket(arg0 interface{}) *gomock.Call

QueueProbePacket indicates an expected call of QueueProbePacket.

func (*MockSentPacketHandlerMockRecorder) ReceivedAck

func (mr *MockSentPacketHandlerMockRecorder) ReceivedAck(arg0, arg1, arg2 interface{}) *gomock.Call

ReceivedAck indicates an expected call of ReceivedAck.

func (*MockSentPacketHandlerMockRecorder) ReceivedBytes

func (mr *MockSentPacketHandlerMockRecorder) ReceivedBytes(arg0 interface{}) *gomock.Call

ReceivedBytes indicates an expected call of ReceivedBytes.

func (*MockSentPacketHandlerMockRecorder) ResetForRetry

func (mr *MockSentPacketHandlerMockRecorder) ResetForRetry() *gomock.Call

ResetForRetry indicates an expected call of ResetForRetry.

func (*MockSentPacketHandlerMockRecorder) SendMode

SendMode indicates an expected call of SendMode.

func (*MockSentPacketHandlerMockRecorder) SentPacket

func (mr *MockSentPacketHandlerMockRecorder) SentPacket(arg0 interface{}) *gomock.Call

SentPacket indicates an expected call of SentPacket.

func (*MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed

func (mr *MockSentPacketHandlerMockRecorder) SetHandshakeConfirmed() *gomock.Call

SetHandshakeConfirmed indicates an expected call of SetHandshakeConfirmed.

func (*MockSentPacketHandlerMockRecorder) SetMaxDatagramSize

func (mr *MockSentPacketHandlerMockRecorder) SetMaxDatagramSize(arg0 interface{}) *gomock.Call

SetMaxDatagramSize indicates an expected call of SetMaxDatagramSize.

func (*MockSentPacketHandlerMockRecorder) TimeUntilSend

func (mr *MockSentPacketHandlerMockRecorder) TimeUntilSend() *gomock.Call

TimeUntilSend indicates an expected call of TimeUntilSend.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL