Uses of Class
io.github.mahmoudimus.quic.connection.SentPacket
Packages that use SentPacket
Package
Description
The sans-I/O QUIC connection and endpoint, ported from quinn-proto: the
Connection state machine (handshake, packet assembly and
processing, key updates, closing and draining), the Endpoint that routes datagrams and answers with Version
Negotiation, Retry and stateless resets, their configurations (TransportConfig, ServerConfig, ClientConfig, EndpointConfig), and the building blocks they are made of:
range sets (RangeSet), reassembly of received data
(Assembler), buffering of sent data (SendBuffer), streams and flow control (StreamsState), packet number spaces and ACK generation
(PacketSpace), loss detection (Recovery), pacing (Pacer), path MTU discovery (MtuDiscovery) and timers (TimerTable).-
Uses of SentPacket in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection that return SentPacketModifier and TypeMethodDescriptionSentPackets.get(long pn) A packet.static SentPacketSentPacket.of(long timeSent, int size, boolean ackEliciting) A packet without frames to track, for tests and ACK-only packets.SentPackets.remove(long pn) Removes a packet.PacketSpace.sent(long number, SentPacket packet) Tracks a sent packet.PacketSpace.take(long number) Stops tracking a sent packet.Methods in io.github.mahmoudimus.quic.connection that return types with arguments of type SentPacketModifier and TypeMethodDescriptionSentPackets.clear()Removes every packet.Recovery.discardZeroRttPackets(long now) Forgets the packets sent in the application data space without counting them lost, after the server rejected 0-RTT: it never processed them (quinn's handling of rejected 0-RTT).SentPackets.higher(long pn) The first packet numbered abovepn.SentPackets.range(long from, long to) The packets numbered[from, to), in increasing order.SentPackets.values()Every packet, in increasing order.Methods in io.github.mahmoudimus.quic.connection with parameters of type SentPacketModifier and TypeMethodDescriptionvoidSentPackets.insert(long pn, SentPacket packet) Adds a packet, whose number must exceed every number added before.voidDeliveryRate.onPacketAcked(long now, SentPacket packet) Records an acknowledged packet that was stamped byDeliveryRate.onPacketSent(long, io.github.mahmoudimus.quic.connection.SentPacket, long).default voidRecovery.Listener.onPacketAcked(SpaceId space, long packetNumber, SentPacket packet) A packet was acknowledged.default voidRecovery.Listener.onPacketLost(SpaceId space, long packetNumber, SentPacket packet) A packet was deemed lost.voidDeliveryRate.onPacketSent(long now, SentPacket packet, long bytesInFlight) Stamps a packet about to go in flight.voidRecovery.onPacketSent(long now, SpaceId id, long packetNumber, SentPacket packet) Records a sent packet: in-flight counts, the time of the last ack-eliciting packet, pacing, and the loss detection timer.PacketSpace.sent(long number, SentPacket packet) Tracks a sent packet.