Feature notes: Asynchronous QUIC server and HTTP/3 component
SequenceNumber: UInt64;
ConnectionID, ResetToken: TBytes;
Retired, Used, Advertised: Boolean;
PathTag, RemoteTag: UInt64;
constructor Create(aActiveLimit: UInt64; aMaxHistory: Integer = 1024);
procedure SetInitial(const aConnectionID, aResetToken: TBytes);
procedure AddPreferred(const aConnectionID, aResetToken: TBytes);
procedure ReceiveNew(const aFrame: tQuicFrame);
function TryGet(aSequence: UInt64; out aEntry: tQuicConnectionIDEntry): Boolean;
function Entry(aIndex: Integer): tQuicConnectionIDEntry;
function SelectForPath(aPathTag: UInt64; out aSequence: UInt64; out aConnectionID: TBytes): Boolean;
procedure MarkUsed(aSequence, aPathTag: UInt64); overload;
procedure MarkUsed(aSequence, aPathTag, aRemoteTag: UInt64); overload;
procedure Retire(aSequence: UInt64);
procedure RetirePath(aPathTag: UInt64);
function PeekRetirement(out aFrame: tQuicFrame): Boolean;
procedure RetirementQueued(aSequence: UInt64);
function PopRetirement(out aFrame: tQuicFrame): Boolean;
function MatchStatelessReset(const aDatagram: TBytes; aRemoteTag: UInt64): Boolean;
property Count: Integer read GetCount;
property ActiveCount: Integer read GetActiveCount;
property ActiveLimit: UInt64 read fActiveLimit;
property RetirePriorTo: UInt64 read fRetirePriorTo;
constructor Create(const aInitialConnectionID: TBytes; aPeerLimit: UInt64; aMaxHistory: Integer = 1024);
procedure SetPeerLimit(aPeerLimit: UInt64);
procedure SetInitialToken(const aResetToken: TBytes);
procedure Issue(const aConnectionID, aResetToken: TBytes; aRetirePriorTo: UInt64; out aFrame: tQuicFrame);
procedure AddPreferred(const aConnectionID, aResetToken: TBytes);
procedure MarkAdvertised(aSequence: UInt64);
procedure ReceiveRetire(aSequence: UInt64; const aPacketDestinationID: TBytes);
function Accepts(const aConnectionID: TBytes): Boolean;
function TryGet(aSequence: UInt64; out aEntry: tQuicConnectionIDEntry): Boolean;
function Entry(aIndex: Integer): tQuicConnectionIDEntry;
property Count: Integer read GetCount;
property ActiveCount: Integer read GetActiveCount;
property PeerLimit: UInt64 read fPeerLimit;
property NeedsMore: Boolean read GetNeedsMore;
property NextSequence: UInt64 read fNextSequence;
property RetirePriorTo: UInt64 read fRetirePriorTo;