Uses of Class
org.drasyl.util.UnsignedInteger
Package
Description
Codecs, Handlers, and Messages for the Stop-and-wait-ARQ protocols.
Utility classes used across multiple packages.
-
Uses of UnsignedInteger in org.drasyl.handler.arq.gobackn
Modifier and TypeMethodDescriptionGoBackNArqAck.sequenceNo()
GoBackNArqData.sequenceNo()
GoBackNArqMessage.sequenceNo()
ModifierConstructorDescriptionGoBackNArqAck
(UnsignedInteger sequenceNo) GoBackNArqData
(UnsignedInteger sequenceNo, io.netty.buffer.ByteBuf content) GoBackNArqReceiverHandler
(UnsignedInteger nextSequenceNo, Duration ackClock) GoBackNArqSenderHandler
(int windowSize, Duration retryTimeout, UnsignedInteger base, UnsignedInteger nextSeqNum, boolean windowShouldAffectWritability) Creates a new GoBackNArqHandler. -
Uses of UnsignedInteger in org.drasyl.util
Modifier and TypeFieldDescriptionstatic final UnsignedInteger
UnsignedInteger.MAX_VALUE
static final UnsignedInteger
UnsignedInteger.MIN_VALUE
Modifier and TypeMethodDescriptionUnsignedInteger.decrement()
UnsignedInteger.increment()
static UnsignedInteger
UnsignedInteger.of
(byte[] value) Creates a newUnsignedInteger
.static UnsignedInteger
UnsignedInteger.of
(long value) Creates a newUnsignedInteger
.UnsignedInteger.safeDecrement()
UnsignedInteger.safeIncrement()
Does increment the unsigned integer but does a modulo operation to handle overflows.