Uses of Class
org.drasyl.handler.remote.protocol.InvalidMessageFormatException
Package
Description
Handlers used to communicate with remote nodes.
The protocol used for communication with remote peers.
Contains classes necessary for encrypted peer/application communication.
Serialization of java objects to byte arrays and vice versa.
-
Uses of InvalidMessageFormatException in org.drasyl.handler.remote
Modifier and TypeMethodDescriptionprotected void
ByteToRemoteMessageCodec.decode
(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<io.netty.buffer.ByteBuf> msg, List<Object> out) protected void
ByteToRemoteMessageCodec.encode
(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<RemoteMessage> msg, List<Object> out) -
Uses of InvalidMessageFormatException in org.drasyl.handler.remote.protocol
Modifier and TypeClassDescriptionclass
This exception is thrown when reading aRemoteMessage
fails due to a mismatched magic number (expected magic number:RemoteMessage.MAGIC_NUMBER
).Modifier and TypeMethodDescriptionFullReadMessage.arm
(io.netty.buffer.ByteBuf byteBuf, Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message for sending it through untrustworthy channels.UnarmedProtocolMessage.arm
(Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message.UnarmedProtocolMessage.armAndRelease
(Crypto cryptoInstance, SessionPair sessionPair) Returns an armed version (ArmedProtocolMessage
) of this message and then releases this message.ArmedProtocolMessage.disarm
(Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage
) of this message.ArmedProtocolMessage.disarmAndRelease
(Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage
) of this message and then releases this message.static PartialReadMessage
PartialReadMessage.of
(io.netty.buffer.ByteBuf bytes) Creates aPartialReadMessage
frombytes
.static PrivateHeader
PrivateHeader.of
(io.netty.buffer.ByteBuf byteBuf) static PublicHeader
PublicHeader.of
(io.netty.buffer.ByteBuf byteBuf) UnarmedProtocolMessage.read()
Read the remainder of this message and returns the resultedFullReadMessage
. -
Uses of InvalidMessageFormatException in org.drasyl.node.handler.crypto
Modifier and TypeMethodDescriptionstatic AcknowledgementMessage
AcknowledgementMessage.of
(io.netty.buffer.ByteBuf byteBuf) static Object
ArmMessage.of
(io.netty.buffer.ByteBuf byteBuf) static KeyExchangeMessage
KeyExchangeMessage.of
(io.netty.buffer.ByteBuf byteBuf) -
Uses of InvalidMessageFormatException in org.drasyl.node.handler.serialization
Modifier and TypeMethodDescriptionstatic SerializedPayload
SerializedPayload.of
(io.netty.buffer.ByteBuf byteBuf)