Uses of Class
io.github.mahmoudimus.quic.connection.Connection
Packages that use Connection
Package
Description
A dependency-free QUIC transport (RFC 9000, 9001, 9002, 9221, 9369).
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 Connection in io.github.mahmoudimus.quic
Methods in io.github.mahmoudimus.quic with parameters of type ConnectionModifier and TypeMethodDescriptionstatic QuicConnection.StatsQuicConnection.Stats.of(Connection connection) The statistics of a sans-I/O connection that the caller drives itself, and which no other thread uses meanwhile;QuicConnection.Stats.droppedDatagrams()is 0. -
Uses of Connection in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection that return ConnectionModifier and TypeMethodDescriptionEndpoint.connect(long now, ClientConfig clientConfig, InetSocketAddress remote, String serverName) Starts a client connection.Endpoint.connect(long now, ClientConfig clientConfig, InetSocketAddress remote, String serverName, SessionCache cache) Starts a client connection with a cache of session tickets and tokens: it resumes with a ticket from the cache (and sends 0-RTT data if the ticket and the TLS configuration allow it), presents a token from the cache, and keeps the tickets and tokens it receives.Endpoint.DatagramEvent.Deliver.connection()Returns the value of theconnectionrecord component.Endpoint.DatagramEvent.NewConnection.connection()Returns the value of theconnectionrecord component.Methods in io.github.mahmoudimus.quic.connection that return types with arguments of type ConnectionModifier and TypeMethodDescriptionEndpoint.connections()The connections the endpoint routes to, until each is drained.Methods in io.github.mahmoudimus.quic.connection with parameters of type ConnectionModifier and TypeMethodDescriptionvoidEndpoint.handleEvent(Connection conn, EndpointEvent event) Applies a connection's endpoint event to the routes.Constructors in io.github.mahmoudimus.quic.connection with parameters of type ConnectionModifierConstructorDescriptionDeliver(Connection connection) Creates an instance of aDeliverrecord class.NewConnection(Connection connection) Creates an instance of aNewConnectionrecord class.