Package org.drasyl.handler.remote.tcp
package org.drasyl.handler.remote.tcp
Contains the pipeline handlers for TCP fallback connections.
-
ClassDescriptionEncodes
ByteBuf
s toInetAddressedMessage
s and vice versa.This handler monitors how long the node has not received a response from any super peer.This handler passes messages from theSocketChannel
to theDrasylServerChannel
's context.Starts a TCP-based server, allowing clients in very restrictive networks that do not allow UDP-based traffic to connect to this super peer via TCP.Signals that theTcpServer
was unable to bind to port.Signals that theTcpServer
is bind toTcpServer.TcpServerBound.getPort()
.This handler passes all receiving messages to the pipeline and updatesTcpServerHandler.clients
on new/closed connections.