Uses of Class
org.drasyl.handler.remote.protocol.UnarmedProtocolMessage
Package
Description
Contains classes necessary for encrypted protocol communication.
The protocol used for communication with remote peers.
-
Uses of UnarmedProtocolMessage in org.drasyl.handler.remote.crypto
Modifier and TypeMethodDescriptionprotected void
UnarmedMessageDecoder.decode
(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<UnarmedProtocolMessage> msg, List<Object> out) -
Uses of UnarmedProtocolMessage in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionUnarmedProtocolMessage.asReadOnly()
Returns a read-only version of this message.UnarmedProtocolMessage.incrementHopCount()
Returns a copy of this message with incrementedRemoteMessage.getHopCount()
.static UnarmedProtocolMessage
UnarmedProtocolMessage.of
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf bytes) Creates an unarmed message.UnarmedProtocolMessage.retain()
UnarmedProtocolMessage.retain
(int increment) UnarmedProtocolMessage.touch()