Uses of Interface
io.github.mahmoudimus.quic.connection.ConnectionEvent
Packages that use ConnectionEvent
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 ConnectionEvent in io.github.mahmoudimus.quic.connection
Classes in io.github.mahmoudimus.quic.connection that implement ConnectionEventModifier and TypeClassDescriptionstatic final recordThe handshake completed: streams and datagrams can flow.static final recordThe connection ended; this is the last event.static final recordOne or more DATAGRAM frames arrived; read them withConnection.receiveDatagram().static final recordThe handshake is confirmed (RFC 9001 section 4.1.2).static final recordThe handshake has progressed far enough that the ALPN protocol and, on a server, the client's server name are known.static final recordA client's probe of a new path got no PATH_RESPONSE in time: the connection stays on its path.static final recordThe path packets are sent on changed: the server followed the client to a new address (and validates it), went back to the previous path after a failed validation, or the client switched to a path it probed (Connection.probePath(long, java.net.InetSocketAddress), or the server's preferred address).static final recordSomething happened on a stream.Methods in io.github.mahmoudimus.quic.connection that return ConnectionEventModifier and TypeMethodDescriptionConnection.pollEvent()Takes the next application event: handshake progress, stream events, received datagrams, and finallyConnectionEvent.ConnectionLost.