Uses of Class
io.github.mahmoudimus.quic.connection.ServerConfig.Builder
Packages that use ServerConfig.Builder
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 ServerConfig.Builder in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection that return ServerConfig.BuilderModifier and TypeMethodDescriptionstatic ServerConfig.BuilderA builder.ServerConfig.Builder.clock(InstantSource clock) The wall clock token expiry is checked against.ServerConfig.Builder.maxConnections(int max) The most connections held at once.ServerConfig.Builder.migration(boolean migration) Whether clients may migrate (RFC 9000 section 9): on by default, as in quinn.ServerConfig.Builder.newTokens(int count) How many NEW_TOKEN tokens to send each client after its handshake (RFC 9000 section 8.1.3).ServerConfig.Builder.preferredAddress(InetSocketAddress ipv4, InetSocketAddress ipv6) Advertises a preferred address (RFC 9000 section 9.6) in thepreferred_addresstransport parameter, with a connection ID of its own: a client may validate it after the handshake and move there.ServerConfig.Builder.retry(boolean retry) Turns Retry-based address validation on or off (off by default).ServerConfig.Builder.retryTokenLifetime(Duration lifetime) How long a Retry token stays valid.ServerConfig.toBuilder()A builder that starts from this configuration, with the same token key.The key Retry tokens are sealed with; servers behind one address share it.ServerConfig.Builder.transport(TransportConfig transport) The transport settings.ServerConfig.Builder.validationTokenLifetime(Duration lifetime) How long a NEW_TOKEN token stays valid.