Package org.drasyl.handler.remote.protocol
package org.drasyl.handler.remote.protocol
The protocol used for communication with remote peers.
-
ClassDescriptionAcknowledges a
HelloMessage
.Describes a message sent by an application running on drasyl.Describes a protocol message whose contents has been armed by using authenticated encryption with associated data.FullReadMessage<T extends FullReadMessage<?>>Describes a message whose content has been read completely.Describes a message that is used to announce this node to peers or to join a super node.This is an immutable object.This exception is thrown when reading aRemoteMessage
fails due to an invalid format.This exception is thrown when reading aRemoteMessage
fails due to a mismatched magic number (expected magic number:RemoteMessage.MAGIC_NUMBER
).ARemoteMessage
is uniquely identified by itsNonce.NONCE_LENGTH
bytes long nonce.Describes a message whose content has been read partially.This class models the private header of a drasyl protocol message.This class models the public header of a drasyl protocol message.Describes a message that is sent to remote peers via UDP/TCP.Describes an unencrypted protocol message whose only public header has been read so far.This message is sent by a super node for NAT traversal.