Uses of Class
org.drasyl.util.UnsignedShort
Package
Description
The protocol used for communication with remote peers.
Utility classes used across multiple packages.
-
Uses of UnsignedShort in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionabstract UnsignedShort
PrivateHeader.getArmedLength()
static UnsignedShort
PrivateHeader.getArmedLength
(io.netty.buffer.ByteBuf byteBuf) abstract UnsignedShort
UniteMessage.getPort()
Returns the port of the peer.Modifier and TypeMethodDescriptionstatic PrivateHeader
PrivateHeader.of
(PrivateHeader.MessageType type, UnsignedShort armedLength) static UniteMessage
UniteMessage.of
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, DrasylAddress address, InetAddress inetAddress, UnsignedShort port) Creates new unit message. -
Uses of UnsignedShort in org.drasyl.util
Modifier and TypeFieldDescriptionstatic final UnsignedShort
UnsignedShort.MAX_VALUE
static final UnsignedShort
UnsignedShort.MIN_VALUE
Modifier and TypeMethodDescriptionUnsignedShort.decrement()
UnsignedShort.increment()
static UnsignedShort
UnsignedShort.of
(byte[] value) Creates a newUnsignedShort
.static UnsignedShort
UnsignedShort.of
(int value) Creates a newUnsignedShort
.