Class ProtocolSession

All Implemented Interfaces:
Container, Destroyable, Dumpable, Dumpable.DumpableContainer, LifeCycle
Direct Known Subclasses:
ClientProtocolSession, ServerProtocolSession

public abstract class ProtocolSession extends ContainerLifeCycle

Represents an established stateful connection with a remote peer for a specific QUIC connection.

ProtocolSession is created only when the connection is established, and it is protocol specific, depending on the protocol negotiated during the connection establishment, or explicitly configured.

ProtocolSession creates and manages StreamEndPoints, so that protocols on top of QUIC can view QUIC streams as if they were an EndPoint.