Uses of Class
org.drasyl.handler.remote.protocol.InvalidMessageFormatException
Packages that use 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
Methods in org.drasyl.handler.remote that throw InvalidMessageFormatExceptionModifier and TypeMethodDescriptionprotected voidByteToRemoteMessageCodec.decode(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<io.netty.buffer.ByteBuf> msg, List<Object> out) protected voidByteToRemoteMessageCodec.encode(io.netty.channel.ChannelHandlerContext ctx, InetAddressedMessage<RemoteMessage> msg, List<Object> out) -
Uses of InvalidMessageFormatException in org.drasyl.handler.remote.protocol
Subclasses of InvalidMessageFormatException in org.drasyl.handler.remote.protocolModifier and TypeClassDescriptionclassThis exception is thrown when reading aRemoteMessagefails due to a mismatched magic number (expected magic number:RemoteMessage.MAGIC_NUMBER).Methods in org.drasyl.handler.remote.protocol that throw InvalidMessageFormatExceptionModifier 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.disarm(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage) of this message.ArmedProtocolMessage.disarmAndRelease(io.netty.buffer.ByteBufAllocator alloc, Crypto cryptoInstance, SessionPair sessionPair) Returns a disarmed version (FullReadMessage) of this message and then releases this message.static PartialReadMessagePartialReadMessage.of(io.netty.buffer.ByteBuf bytes) Creates aPartialReadMessagefrombytes.static PrivateHeaderPrivateHeader.of(io.netty.buffer.ByteBuf byteBuf) static PublicHeaderPublicHeader.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
Methods in org.drasyl.node.handler.crypto that throw InvalidMessageFormatExceptionModifier and TypeMethodDescriptionstatic AcknowledgementMessageAcknowledgementMessage.of(io.netty.buffer.ByteBuf byteBuf) static KeyExchangeMessageKeyExchangeMessage.of(io.netty.buffer.ByteBuf byteBuf) -
Uses of InvalidMessageFormatException in org.drasyl.node.handler.serialization
Methods in org.drasyl.node.handler.serialization that throw InvalidMessageFormatExceptionModifier and TypeMethodDescriptionstatic SerializedPayloadSerializedPayload.of(io.netty.buffer.ByteBuf byteBuf)