Uses of Class
io.github.mahmoudimus.quic.connection.StreamsState
Packages that use StreamsState
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 StreamsState in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection with parameters of type StreamsStateModifier and TypeMethodDescriptionPacketSpace.canSend(StreamsState streams) Whether anything can be sent in this space.static Recovery.ListenerRecovery.Listener.forStreams(StreamsState streams) The listener of a connection's streams, as quinn wires it: acknowledged STREAM frames and RESET_STREAMs release stream state, lost STREAM frames are queued again.booleanRetransmits.isEmpty(StreamsState streams) Whether nothing needs sending.voidPacketSpace.maybeQueueProbe(boolean requestImmediateAck, boolean hasAckElicitingData, StreamsState streams) Fills a loss probe after a PTO (RFC 9002 section 6.2.4): if no new data is waiting, the oldest in-flight packet's control frames are queued again (and taken from that packet, so they are not resent twice), and failing that a PING.