Uses of Class
org.drasyl.util.UnsignedInteger
Packages that use 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
Fields in org.drasyl.handler.arq.gobackn declared as UnsignedIntegerModifier and TypeFieldDescriptionprotected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
protected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
protected UnsignedInteger
AbstractGoBackNArqData.sequenceNo
Methods in org.drasyl.handler.arq.gobackn that return UnsignedIntegerModifier and TypeMethodDescriptionGoBackNArqAck.sequenceNo()
GoBackNArqMessage.sequenceNo()
GoBackNArqRst.sequenceNo()
Constructors in org.drasyl.handler.arq.gobackn with parameters of type UnsignedIntegerModifierConstructorDescriptionGoBackNArqAck
(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
Fields in org.drasyl.util declared as UnsignedIntegerModifier and TypeFieldDescriptionstatic final UnsignedInteger
UnsignedInteger.MAX_VALUE
static final UnsignedInteger
UnsignedInteger.MIN_VALUE
Methods in org.drasyl.util that return UnsignedIntegerModifier 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.