Package org.drasyl.handler.remote
package org.drasyl.handler.remote
Handlers used to communicate with remote nodes.
-
ClassDescriptionThis codec converts
ApplicationMessages to the embedded payload and vice versa.This codec convertsByteBufs toRemoteMessages an vice versa.This handler filters out all messages received with invalid proof of work.Signals that a message was received with an invalidProofOfWorkand was dropped.Uses the file system to discover other drasyl nodes running on the local computer.This handler, along with theUdpMulticastServerorUdpBroadcastServer, is used to discover other nodes on the local network via IP multicast or broadcast.This handler filters out all messages received from other networks.Signals that a message was received from another network and was dropped.This handler rate limitsAcknowledgementMessage,HelloMessage, andUniteMessagemessages addressed to us.This handler uses preconfigured static routes to deliver messages.Starts an UDP broadcast server and together with theLocalNetworkDiscoveryis responsible for discovering other nodes in the local network.Starts an UDP server which joins a IP multicast group and together with theLocalNetworkDiscoveryis responsible for discovering other nodes in the local network.Binds to an udp port, sends outgoing messages via udp, and sends received udp packets to theChannel.Signals that theUdpServerwas unable to bind to given address.Signals that theUdpServeris bound toUdpServer.UdpServerBound.getBindAddress().This handler fails and drops all outboundOverlayAddressedMessages.