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
ErrorMessage
to the peer.A MessageDecoderException is thrown by theMessageDecoder
when errors occur.A MessageEncoderException is thrown by theMessageEncoder
when errors occur.This handler acts as a health check for a connection.This handler ensures thatMessage
s do not infinitely circulate in the network.Acts as a guard for in- and outbound messages.ChannelDuplexHandler
which allows to explicit only handle a specific type of messages.ChannelOutboundHandlerAdapter
which 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.