package ackhandler
import (
"github.com/quic-go/quic-go/internal/monotime"
"github.com/quic-go/quic-go/internal/protocol"
"github.com/quic-go/quic-go/internal/wire"
)
type SentPacketHandler interface {
SentPacket (t monotime .Time , pn, largestAcked protocol .PacketNumber , streamFrames []StreamFrame , frames []Frame , encLevel protocol .EncryptionLevel , ecn protocol .ECN , size protocol .ByteCount , isPathMTUProbePacket, isPathProbePacket bool )
ReceivedAck (f *wire .AckFrame , encLevel protocol .EncryptionLevel , rcvTime monotime .Time ) (bool , error )
ReceivedPacket (protocol .EncryptionLevel , monotime .Time )
ReceivedBytes (_ protocol .ByteCount , rcvTime monotime .Time )
DropPackets (_ protocol .EncryptionLevel , rcvTime monotime .Time )
ResetForRetry (rcvTime monotime .Time )
SendMode (now monotime .Time ) SendMode
TimeUntilSend () monotime .Time
SetMaxDatagramSize (count protocol .ByteCount )
QueueProbePacket (protocol .EncryptionLevel ) bool
ECNMode (isShortHeaderPacket bool ) protocol .ECN
PeekPacketNumber (protocol .EncryptionLevel ) (protocol .PacketNumber , protocol .PacketNumberLen )
PopPacketNumber (protocol .EncryptionLevel ) protocol .PacketNumber
GetLossDetectionTimeout () monotime .Time
OnLossDetectionTimeout (now monotime .Time ) error
MigratedPath (now monotime .Time , initialMaxPacketSize protocol .ByteCount )
}
The pages are generated with Golds v0.8.2 . (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu .
PR and bug reports are welcome and can be submitted to the issue list .
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds .