Uses of Class
org.drasyl.handler.remote.protocol.ApplicationMessage
Package
Description
Handlers used to communicate with remote nodes.
The protocol used for communication with remote peers.
-
Uses of ApplicationMessage in org.drasyl.handler.remote
Modifier and TypeMethodDescriptionprotected void
ApplicationMessageToPayloadCodec.decode
(io.netty.channel.ChannelHandlerContext ctx, io.netty.channel.AddressedEnvelope<ApplicationMessage, ?> msg, List<Object> out) -
Uses of ApplicationMessage in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionApplicationMessage.incrementHopCount()
Returns this message with incremented hop count.static ApplicationMessage
ApplicationMessage.of
(int networkId, IdentityPublicKey recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf payload) static ApplicationMessage
ApplicationMessage.of
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf payload) Creates new application message.