Uses of Class
io.github.mahmoudimus.quic.connection.TransportConfig.Builder
Packages that use TransportConfig.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 TransportConfig.Builder in io.github.mahmoudimus.quic.connection
Methods in io.github.mahmoudimus.quic.connection that return TransportConfig.BuilderModifier and TypeMethodDescriptionTransportConfig.Builder.activeConnectionIdLimit(int limit) Theactive_connection_id_limittransport parameter: how many of the peer's connection IDs to keep.TransportConfig.Builder.allowSpin(boolean allow) Whether to take part in the latency spin bit (RFC 9000 section 17.4); when on, a connection still opts out one time in eight.static TransportConfig.BuilderTransportConfig.builder()A builder starting from the defaults.TransportConfig.Builder.congestionControl(TransportConfig.CongestionControl control) Chooses one of the provided congestion controllers with its default settings.TransportConfig.Builder.congestionControllerFactory(ControllerFactory factory) A custom congestion controller.TransportConfig.Builder.cryptoBufferSize(int bytes) The most out-of-order CRYPTO data to buffer per encryption level; more isCRYPTO_BUFFER_EXCEEDED.TransportConfig.Builder.datagramReceiveBufferSize(int bytes) The DATAGRAM (RFC 9221) receive buffer; the oldest unread datagrams are dropped beyond it. 0 refuses DATAGRAM frames altogether.TransportConfig.Builder.datagramSendBufferSize(int bytes) The DATAGRAM send buffer; the oldest unsent datagrams are dropped beyond it.TransportConfig.Builder.initialMtu(int bytes) The UDP payload size to start with, at leastminMtu(int).TransportConfig.Builder.initialRtt(Duration rtt) The RTT assumed before the first sample.TransportConfig.Builder.keepAliveInterval(Duration interval) Sends a PING after this much time without sending, to keep an idle connection open.Writes each connection's TLS secrets in theSSLKEYLOGFILEformat, for Wireshark.TransportConfig.Builder.maxAckDelay(Duration delay) Themax_ack_delaytransport parameter: how long this endpoint may delay ACKs.TransportConfig.Builder.maxConcurrentBidiStreams(long count) How many bidirectional streams the peer may have open at once.TransportConfig.Builder.maxConcurrentUniStreams(long count) How many unidirectional streams the peer may have open at once.TransportConfig.Builder.maxIdleTimeout(Duration timeout) The idle timeout to offer (RFC 9000 section 10.1); the smaller of both sides' applies.TransportConfig.Builder.maxOutgoingBytesPerSecond(long bytesPerSecond) Caps the sending rate through the pacer.TransportConfig.Builder.maxUdpPayloadSize(int bytes) Themax_udp_payload_sizetransport parameter: the largest datagram this endpoint receives.TransportConfig.Builder.minMtu(int bytes) The UDP payload size the path is assumed to carry, at least 1200.TransportConfig.Builder.mtuDiscovery(boolean enabled) Turns path MTU discovery (RFC 8899) on with its default settings, or off.TransportConfig.Builder.mtuDiscoveryConfig(MtuDiscoveryConfig config) Path MTU discovery settings, or null to turn it off.TransportConfig.Builder.packetThreshold(int packets) The packet reordering threshold of loss detection (RFC 9002 section 6.1.1).TransportConfig.Builder.persistentCongestionThreshold(int ptos) How many PTOs of loss make persistent congestion (RFC 9002 section 7.6).Reports qlog-style events (packets sent, received and lost, metrics, state changes).TransportConfig.Builder.receiveWindow(long bytes) The receive window of the connection, across streams.TransportConfig.Builder.sendFairness(boolean fair) Whether streams of equal priority share packets round-robin (true, the default) or one finishes before the next starts.TransportConfig.Builder.sendWindow(long bytes) The most outgoing stream data to buffer until it is acknowledged.TransportConfig.Builder.streamReceiveWindow(long bytes) The receive window of each stream: how much the peer may send ahead of what the application read.TransportConfig.Builder.timeThreshold(double rtts) The time reordering threshold of loss detection, in RTTs (RFC 9002 section 6.1.2).TransportConfig.toBuilder()A builder starting from this configuration.