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 theUdpMulticastServer, is used to discover other nodes on the local network.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,DiscoveryMessage, andUniteMessagemessages addressed to us.This handler uses preconfigured static routes to deliver messages.Starts an UDP server which joins a 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 port.Signals that theUdpServeris bind toUdpServer.Port.getPort().