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 UnsignedIntegerAbstractGoBackNArqData.sequenceNoprotected UnsignedIntegerAbstractGoBackNArqData.sequenceNoprotected UnsignedIntegerAbstractGoBackNArqData.sequenceNoMethods 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 UnsignedIntegerUnsignedInteger.MAX_VALUEstatic final UnsignedIntegerUnsignedInteger.MIN_VALUEMethods in org.drasyl.util that return UnsignedIntegerModifier and TypeMethodDescriptionUnsignedInteger.decrement()UnsignedInteger.increment()static UnsignedIntegerUnsignedInteger.of(byte[] value) Creates a newUnsignedInteger.static UnsignedIntegerUnsignedInteger.of(long value) Creates a newUnsignedInteger.UnsignedInteger.safeDecrement()UnsignedInteger.safeIncrement()Does increment the unsigned integer but does a modulo operation to handle overflows.