quic-go: github.com/lucas-clemente/quic-go/internal/mocks/ackhandler Index | Files

package mockackhandler

import "github.com/lucas-clemente/quic-go/internal/mocks/ackhandler"

Package mockackhandler is a generated GoMock package.

Package mockackhandler is a generated GoMock package.

Index

Package Files

received_packet_handler.go sent_packet_handler.go

type MockReceivedPacketHandler Uses

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

MockReceivedPacketHandler is a mock of ReceivedPacketHandler interface

func NewMockReceivedPacketHandler Uses

func NewMockReceivedPacketHandler(ctrl *gomock.Controller) *MockReceivedPacketHandler

NewMockReceivedPacketHandler creates a new mock instance

func (*MockReceivedPacketHandler) DropPackets Uses

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

DropPackets mocks base method

func (*MockReceivedPacketHandler) EXPECT Uses

func (m *MockReceivedPacketHandler) EXPECT() *MockReceivedPacketHandlerMockRecorder

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

func (*MockReceivedPacketHandler) GetAckFrame Uses

func (m *MockReceivedPacketHandler) GetAckFrame(arg0 protocol.EncryptionLevel) *wire.AckFrame

GetAckFrame mocks base method

func (*MockReceivedPacketHandler) GetAlarmTimeout Uses

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

GetAlarmTimeout mocks base method

func (*MockReceivedPacketHandler) IgnoreBelow Uses

func (m *MockReceivedPacketHandler) IgnoreBelow(arg0 protocol.PacketNumber)

IgnoreBelow mocks base method

func (*MockReceivedPacketHandler) ReceivedPacket Uses

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

ReceivedPacket mocks base method

type MockReceivedPacketHandlerMockRecorder Uses

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

MockReceivedPacketHandlerMockRecorder is the mock recorder for MockReceivedPacketHandler

func (*MockReceivedPacketHandlerMockRecorder) DropPackets Uses

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

DropPackets indicates an expected call of DropPackets

func (*MockReceivedPacketHandlerMockRecorder) GetAckFrame Uses

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

GetAckFrame indicates an expected call of GetAckFrame

func (*MockReceivedPacketHandlerMockRecorder) GetAlarmTimeout Uses

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

GetAlarmTimeout indicates an expected call of GetAlarmTimeout

func (*MockReceivedPacketHandlerMockRecorder) IgnoreBelow Uses

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

IgnoreBelow indicates an expected call of IgnoreBelow

func (*MockReceivedPacketHandlerMockRecorder) ReceivedPacket Uses

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

ReceivedPacket indicates an expected call of ReceivedPacket

type MockSentPacketHandler Uses

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

MockSentPacketHandler is a mock of SentPacketHandler interface

func NewMockSentPacketHandler Uses

func NewMockSentPacketHandler(ctrl *gomock.Controller) *MockSentPacketHandler

NewMockSentPacketHandler creates a new mock instance

func (*MockSentPacketHandler) DropPackets Uses

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

DropPackets mocks base method

func (*MockSentPacketHandler) EXPECT Uses

func (m *MockSentPacketHandler) EXPECT() *MockSentPacketHandlerMockRecorder

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

func (*MockSentPacketHandler) GetLossDetectionTimeout Uses

func (m *MockSentPacketHandler) GetLossDetectionTimeout() time.Time

GetLossDetectionTimeout mocks base method

func (*MockSentPacketHandler) GetLowestPacketNotConfirmedAcked Uses

func (m *MockSentPacketHandler) GetLowestPacketNotConfirmedAcked() protocol.PacketNumber

GetLowestPacketNotConfirmedAcked mocks base method

func (*MockSentPacketHandler) GetStats Uses

func (m *MockSentPacketHandler) GetStats() *quictrace.TransportState

GetStats mocks base method

func (*MockSentPacketHandler) OnLossDetectionTimeout Uses

func (m *MockSentPacketHandler) OnLossDetectionTimeout() error

OnLossDetectionTimeout mocks base method

func (*MockSentPacketHandler) PeekPacketNumber Uses

func (m *MockSentPacketHandler) PeekPacketNumber(arg0 protocol.EncryptionLevel) (protocol.PacketNumber, protocol.PacketNumberLen)

PeekPacketNumber mocks base method

func (*MockSentPacketHandler) PopPacketNumber Uses

func (m *MockSentPacketHandler) PopPacketNumber(arg0 protocol.EncryptionLevel) protocol.PacketNumber

PopPacketNumber mocks base method

func (*MockSentPacketHandler) QueueProbePacket Uses

func (m *MockSentPacketHandler) QueueProbePacket() bool

QueueProbePacket mocks base method

func (*MockSentPacketHandler) ReceivedAck Uses

func (m *MockSentPacketHandler) ReceivedAck(arg0 *wire.AckFrame, arg1 protocol.PacketNumber, arg2 protocol.EncryptionLevel, arg3 time.Time) error

ReceivedAck mocks base method

func (*MockSentPacketHandler) ResetForRetry Uses

func (m *MockSentPacketHandler) ResetForRetry() error

ResetForRetry mocks base method

func (*MockSentPacketHandler) SendMode Uses

func (m *MockSentPacketHandler) SendMode() ackhandler.SendMode

SendMode mocks base method

func (*MockSentPacketHandler) SentPacket Uses

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

SentPacket mocks base method

func (*MockSentPacketHandler) ShouldSendNumPackets Uses

func (m *MockSentPacketHandler) ShouldSendNumPackets() int

ShouldSendNumPackets mocks base method

func (*MockSentPacketHandler) TimeUntilSend Uses

func (m *MockSentPacketHandler) TimeUntilSend() time.Time

TimeUntilSend mocks base method

type MockSentPacketHandlerMockRecorder Uses

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

MockSentPacketHandlerMockRecorder is the mock recorder for MockSentPacketHandler

func (*MockSentPacketHandlerMockRecorder) DropPackets Uses

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

DropPackets indicates an expected call of DropPackets

func (*MockSentPacketHandlerMockRecorder) GetLossDetectionTimeout Uses

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

GetLossDetectionTimeout indicates an expected call of GetLossDetectionTimeout

func (*MockSentPacketHandlerMockRecorder) GetLowestPacketNotConfirmedAcked Uses

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

GetLowestPacketNotConfirmedAcked indicates an expected call of GetLowestPacketNotConfirmedAcked

func (*MockSentPacketHandlerMockRecorder) GetStats Uses

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

GetStats indicates an expected call of GetStats

func (*MockSentPacketHandlerMockRecorder) OnLossDetectionTimeout Uses

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

OnLossDetectionTimeout indicates an expected call of OnLossDetectionTimeout

func (*MockSentPacketHandlerMockRecorder) PeekPacketNumber Uses

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

PeekPacketNumber indicates an expected call of PeekPacketNumber

func (*MockSentPacketHandlerMockRecorder) PopPacketNumber Uses

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

PopPacketNumber indicates an expected call of PopPacketNumber

func (*MockSentPacketHandlerMockRecorder) QueueProbePacket Uses

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

QueueProbePacket indicates an expected call of QueueProbePacket

func (*MockSentPacketHandlerMockRecorder) ReceivedAck Uses

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

ReceivedAck indicates an expected call of ReceivedAck

func (*MockSentPacketHandlerMockRecorder) ResetForRetry Uses

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

ResetForRetry indicates an expected call of ResetForRetry

func (*MockSentPacketHandlerMockRecorder) SendMode Uses

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

SendMode indicates an expected call of SendMode

func (*MockSentPacketHandlerMockRecorder) SentPacket Uses

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

SentPacket indicates an expected call of SentPacket

func (*MockSentPacketHandlerMockRecorder) ShouldSendNumPackets Uses

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

ShouldSendNumPackets indicates an expected call of ShouldSendNumPackets

func (*MockSentPacketHandlerMockRecorder) TimeUntilSend Uses

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

TimeUntilSend indicates an expected call of TimeUntilSend

Package mockackhandler imports 7 packages (graph). Updated 2019-09-01. Refresh now. Tools for package owners.