Uses of Class
org.drasyl.handler.remote.protocol.ArmedProtocolMessage
Package
Description
Contains classes necessary for encrypted protocol communication.
The protocol used for communication with remote peers.
-
Uses of ArmedProtocolMessage in org.drasyl.handler.remote.crypto
Modifier and TypeMethodDescriptionprotected void
ProtocolArmHandler.decode
(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<ArmedProtocolMessage> msg, List<Object> out) -
Uses of ArmedProtocolMessage in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionFullReadMessage.arm
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message for sending it through untrustworthy channels.UnarmedProtocolMessage.arm
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message.UnarmedProtocolMessage.armAndRelease
(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message and then releases this message.ArmedProtocolMessage.incrementHopCount()
Returns a copy of this message with incrementedRemoteMessage.getHopCount()
.static ArmedProtocolMessage
ArmedProtocolMessage.of
(Nonce nonce, HopCount hopCount, int networkId, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, io.netty.buffer.ByteBuf bytes) Creates an armed message.