Uses of Class
org.drasyl.handler.remote.protocol.DiscoveryMessage
Package
Description
The protocol used for communication with remote peers.
-
Uses of DiscoveryMessage in org.drasyl.handler.remote.protocol
Modifier and TypeMethodDescriptionDiscoveryMessage.incrementHopCount()
static DiscoveryMessage
DiscoveryMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long childrenTime) Creates a newDiscoveryMessage
message.static DiscoveryMessage
DiscoveryMessage.of
(int networkId, DrasylAddress recipient, IdentityPublicKey sender, ProofOfWork proofOfWork, long time, long childrenTime) Creates a newDiscoveryMessage
message.static DiscoveryMessage
DiscoveryMessage.of
(int networkId, IdentityPublicKey sender, ProofOfWork proofOfWork) Creates a new multicastDiscoveryMessage
message (sent byLocalNetworkDiscovery
}.static DiscoveryMessage
DiscoveryMessage.of
(HopCount hopCount, boolean isArmed, int networkId, Nonce nonce, DrasylAddress recipient, DrasylAddress sender, ProofOfWork proofOfWork, long time, long joinTime) Creates new application message.