Package org.drasyl.remote.handler
Handlers used to communicate with remote nodes.
-
Class Summary Class Description ArmHandler Arms (sign/encrypt) outbound and disarms (verify/decrypt) inbound messages.ByteBuf2MessageHandler Handler that converts a givenByteBuf
to aAddressedIntermediateEnvelope
.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 thatIntermediateEnvelope
s do not infinitely circulate in the network.InternetDiscoveryHandler 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.InternetDiscoveryHandler.Ping InvalidProofOfWorkFilter This handler filters out all messages received with invalid proof of work.Message2ByteBufHandler Handler that converts a givenAddressedIntermediateEnvelope
to aByteBuf
.OtherNetworkFilter This handler filters out all messages received from other networks.StaticRoutesHandler This handler uses preconfigured static routes (DrasylConfig.getStaticRoutes(Config, String)
) to deliver messages.UdpServer Binds to a udp port, sends outgoing messages via udp, and sends received udp packets to theDrasylPipeline
.