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 TypeFieldDescriptionprotected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
protected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
protected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
Modifier and TypeMethodDescriptionGoBackNArqAck.sequenceNo()
GoBackNArqMessage.sequenceNo()
GoBackNArqRst.sequenceNo()
ModifierConstructorDescriptionGoBackNArqAck
(UnsignedInteger sequenceNo) GoBackNArqData
(UnsignedInteger sequenceNo, io.netty.buffer.ByteBuf content) GoBackNArqHandler
(int windowSize, Duration retryTimeout, UnsignedInteger base, UnsignedInteger nextSeqNum, UnsignedInteger nextInboundSequenceNo, boolean windowShouldAffectWritability, Duration ackClock) Creates a new GoBackNArqHandler.GoBackNArqLastData
(UnsignedInteger sequenceNo, io.netty.buffer.ByteBuf content) -
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.