Uses of Class
org.drasyl.util.UnsignedShort
Packages that use 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
Methods in org.drasyl.handler.remote.protocol that return UnsignedShortModifier and TypeMethodDescriptionabstract UnsignedShortPrivateHeader.getArmedLength()static UnsignedShortPrivateHeader.getArmedLength(io.netty.buffer.ByteBuf byteBuf) abstract UnsignedShortUniteMessage.getPort()Returns the port of the peer.Methods in org.drasyl.handler.remote.protocol with parameters of type UnsignedShortModifier and TypeMethodDescriptionstatic PrivateHeaderPrivateHeader.of(PrivateHeader.MessageType type, UnsignedShort armedLength) static UniteMessageUniteMessage.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
Fields in org.drasyl.util declared as UnsignedShortModifier and TypeFieldDescriptionstatic final UnsignedShortUnsignedShort.MAX_VALUEstatic final UnsignedShortUnsignedShort.MIN_VALUEMethods in org.drasyl.util that return UnsignedShortModifier and TypeMethodDescriptionUnsignedShort.decrement()UnsignedShort.increment()static UnsignedShortUnsignedShort.of(byte[] value) Creates a newUnsignedShort.static UnsignedShortUnsignedShort.of(int value) Creates a newUnsignedShort.