Package org.drasyl.handler.remote
package org.drasyl.handler.remote
Handlers used to communicate with remote nodes.
-
ClassDescriptionThis codec converts
ApplicationMessage
s to the embedded payload and vice versa.This codec convertsByteBuf
s toRemoteMessage
s an vice versa.This handler filters out all messages received with invalid proof of work.Signals that a message was received with an invalidProofOfWork
and 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
, andUniteMessage
messages addressed to us.This handler uses preconfigured static routes to deliver messages.Starts an UDP server which joins a multicast group and together with theLocalNetworkDiscovery
is 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 theUdpServer
was unable to bind to port.Signals that theUdpServer
is bind toUdpServer.Port.getPort()
.