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.Signals that theTcpClient
is connected toTcpClient.TcpClientConnected.getConnectAddress()
.Signals that theTcpClient
was unable to connect to given address.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 given address.Signals that theTcpServer
is bound toTcpServer.TcpServerBound.getBindAddress()
.This handler passes all receiving messages to the pipeline and updates#clients
on new/closed connections.