Uses of Class
org.drasyl.handler.connection.ConnectionConfig.Builder
Packages that use ConnectionConfig.Builder
-
Uses of ConnectionConfig.Builder in org.drasyl.handler.connection
Methods in org.drasyl.handler.connection that return ConnectionConfig.BuilderModifier and TypeMethodDescriptionabstract ConnectionConfig.BuilderConnectionConfig.Builder.activeOpen(boolean activeOpen) If enabled, a handshake will be issued onChannelInboundHandler.channelActive(ChannelHandlerContext).abstract ConnectionConfig.BuilderConnectionConfig.Builder.alpha(double alpha) The ALPHA smoothing factor used for congestion control algorithm to calculate the current congestion window size.abstract ConnectionConfig.BuilderConnectionConfig.Builder.beta(double beta) The BETA delay variance factor is used in congestion control algorithm.abstract ConnectionConfig.BuilderConnectionConfig.Builder.clock(ConnectionConfig.Clock clock) Defines the clock used as time source.abstract ConnectionConfig.BuilderConnectionConfig.Builder.fs(double fs) A constant used by the Nagle algorithm.abstract ConnectionConfig.BuilderConnectionConfig.Builder.issSupplier(LongSupplier issSupplier) Used to choose an initial send sequence number.abstract ConnectionConfig.BuilderConnectionConfig.Builder.k(int k) The K constant is used to scale the RTT variance to calculate the retransmission timeout.abstract ConnectionConfig.BuilderThe minimum value allowed for the retransmission timeout.abstract ConnectionConfig.BuilderConnectionConfig.Builder.mmsR(int mmsR) The maximum size for a drasyl-layer message that can be received.abstract ConnectionConfig.BuilderConnectionConfig.Builder.mmsS(int mmsS) The maximum segment size for a drasyl-layer message that a connection may send.abstract ConnectionConfig.BuilderThe maximum segment lifetime, the time a segment can exist in the network.static ConnectionConfig.BuilderConnectionConfig.newBuilder()abstract ConnectionConfig.BuilderConnectionConfig.Builder.noDelay(boolean noDelay) If enabled, small data packets are sent without delay, instead of waiting for larger packets to be filled.abstract ConnectionConfig.BuilderConnectionConfig.Builder.overrideTimeout(Duration overrideTimeout) Defines how long small data packets are delayed at most.abstract ConnectionConfig.BuilderConnectionConfig.Builder.rcfBufSupplier(Supplier<ReceiveBuffer> rcfBufSupplier) Used to create theReceiveBuffer.abstract ConnectionConfig.BuilderConnectionConfig.Builder.rmem(int rmem) Defines the receive buffer size (rmem).abstract ConnectionConfig.BuilderConnectionConfig.Builder.rtnsQSupplier(Function<io.netty.channel.Channel, RetransmissionQueue> rtnsQSupplier) Used to create theRetransmissionQueue.abstract ConnectionConfig.BuilderThe retransmission timeout (RTO) is the amount of time that a connection waits before retransmitting a packet that has not been acknowledged.abstract ConnectionConfig.BuilderConnectionConfig.Builder.sndBufSupplier(Function<io.netty.channel.Channel, SendBuffer> sndBufSupplier) Used to create theSendBuffer.abstract ConnectionConfig.BuilderConnectionConfig.Builder.tcbSupplier(BiFunction<ConnectionConfig, io.netty.channel.Channel, TransmissionControlBlock> tcbProvider) Used to create theTransmissionControlBlock.abstract ConnectionConfig.BuilderConnectionConfig.Builder.timestamps(boolean timestamps) Enables the Timestamps option which is used for round-trip time measurements.abstract ConnectionConfig.BuilderConnectionConfig.toBuilder()abstract ConnectionConfig.BuilderThe maximum value allowed for the retransmission timeout.abstract ConnectionConfig.BuilderConnectionConfig.Builder.unusedPortSupplier(IntSupplier unusedPortSupplier) abstract ConnectionConfig.BuilderConnectionConfig.Builder.userTimeout(Duration userTimeout) Defines the duration how long a connection waits for sent data to be acknowledged before the connection is closed.