Class QuicheConnection

java.lang.Object
org.eclipse.jetty.io.AbstractConnection
org.eclipse.jetty.quic.quiche.QuicheConnection
All Implemented Interfaces:
Closeable, AutoCloseable, Connection

public abstract class QuicheConnection extends AbstractConnection

A Connection implementation that receives and sends datagram packets via its associated DatagramChannelEndPoint.

On the client, there is one datagram endpoint for every connection initiated by the client.

On the server, there is one datagram endpoint only for all connections from all clients.

The received bytes are peeked to obtain the QUIC connection ID; each QUIC connection ID has an associated QuicheSession, and the received bytes are then passed to the QuicheSession for processing.

On the receive side, one QuicheConnection fans-out to multiple QuicheSessions.

On the send side, many QuicheSessions fan-in to one QuicheConnection.