Package org.drasyl.remote.handler
Handlers used to communicate with remote nodes.
-
Class Summary Class Description ChunkingHandler This handler is responsible for merging incoming message chunks into a single message as well as splitting outgoing too large messages into chunks.HopCountGuard This handler ensures thatRemoteEnvelope
s do not infinitely circulate in the network.InternetDiscovery This handler performs the following tasks, which help to communicate with nodes located in other networks: Joins one or more super peers or acts itself as a super peer (super peers act as registries of available nodes on the network.InternetDiscovery.Ping InvalidProofOfWorkFilter This handler filters out all messages received with invalid proof of work.LocalNetworkDiscovery This handler, along with theUdpMulticastServer
, is used to discover other nodes on the local network.OtherNetworkFilter This handler filters out all messages received from other networks.RateLimiter This handler rate limitsProtocol.Acknowledgement
,Protocol.Discovery
, andProtocol.Unite
messages addressed to us.RemoteEnvelopeToByteBufCodec This codec convertsRemoteEnvelope
toByteBuf
an vice vera.StaticRoutesHandler This handler uses preconfigured static routes (DrasylConfig.getStaticRoutes(Config, String)
) to deliver messages.UdpMulticastServer Starts an UDP server which joins a multicast group and together with theLocalNetworkDiscovery
is responsible for discovering other nodes in the local network.UdpServer Binds to a udp port, sends outgoing messages via udp, and sends received udp packets to theDrasylPipeline
.