Package org.drasyl.handler.connection
Class ConnectionConfig
java.lang.Object
org.drasyl.handler.connection.ConnectionConfig
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static interface
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract boolean
abstract double
alpha()
abstract double
beta()
abstract ConnectionConfig.Clock
clock()
abstract double
fs()
abstract LongSupplier
abstract int
k()
abstract Duration
lBound()
abstract int
mmsR()
abstract int
mmsS()
abstract Duration
msl()
static ConnectionConfig.Builder
abstract boolean
noDelay()
abstract Duration
abstract Supplier<ReceiveBuffer>
abstract int
rmem()
abstract Function<io.netty.channel.Channel,
RetransmissionQueue> abstract Duration
rto()
abstract Function<io.netty.channel.Channel,
SendBuffer> abstract BiFunction<ConnectionConfig,
io.netty.channel.Channel, TransmissionControlBlock> abstract boolean
abstract ConnectionConfig.Builder
abstract Duration
uBound()
abstract IntSupplier
abstract Duration
-
Field Details
-
IP_MTU
public static final int IP_MTU- See Also:
-
DRASYL_HDR_SIZE
public static final int DRASYL_HDR_SIZE- See Also:
-
-
Constructor Details
-
ConnectionConfig
public ConnectionConfig()
-
-
Method Details
-
newBuilder
-
unusedPortSupplier
-
issSupplier
-
sndBufSupplier
-
rtnsQSupplier
-
rcfBufSupplier
-
tcbSupplier
public abstract BiFunction<ConnectionConfig,io.netty.channel.Channel, tcbSupplier()TransmissionControlBlock> -
activeOpen
public abstract boolean activeOpen() -
rmem
public abstract int rmem() -
msl
-
userTimeout
-
noDelay
public abstract boolean noDelay() -
timestamps
public abstract boolean timestamps() -
alpha
public abstract double alpha() -
beta
public abstract double beta() -
k
public abstract int k() -
clock
-
lBound
-
uBound
-
overrideTimeout
-
rto
-
mmsS
public abstract int mmsS() -
mmsR
public abstract int mmsR() -
fs
public abstract double fs() -
toBuilder
-