Package org.drasyl.peer.connection.handler
package org.drasyl.peer.connection.handler
netty handlers for peer connections.
-
ClassDescriptionThis handler listens to exceptions on the pipeline and sends them as
ErrorMessageto the peer.A MessageDecoderException is thrown by theMessageDecoderwhen errors occur.A MessageEncoderException is thrown by theMessageEncoderwhen errors occur.This handler acts as a health check for a connection.This handler ensures thatMessages do not infinitely circulate in the network.Acts as a guard for in- and outbound messages.ChannelDuplexHandlerwhich allows to explicit only handle a specific type of messages.ChannelOutboundHandlerAdapterwhich allows to explicit only handle a specific type of messages.This handler performs the client-side part of a three-way handshake to create a session.This handler performs the server-side part of a three-way handshake to create a session.