Package org.drasyl.peer.connection.handler
netty handlers for peer connections.
-
Class Summary Class Description ExceptionHandler This handler listens to exceptions on the pipeline and sends them asErrorMessage
to the peer.MessageDecoder MessageEncoder PingPongHandler This handler acts as a health check for a connection.RelayableMessageGuard This handler ensures thatMessage
s do not infinitely circulate in the network.SignatureHandler Acts as a guard for in- and outbound messages.SimpleChannelDuplexHandler<I,O> ChannelDuplexHandler
which allows to explicit only handle a specific type of messages.SimpleChannelOutboundHandler<O> ChannelOutboundHandlerAdapter
which allows to explicit only handle a specific type of messages.ThreeWayHandshakeClientHandler<R extends RequestMessage,O extends ResponseMessage<?>> This handler performs the client-side part of a three-way handshake to create a session.ThreeWayHandshakeServerHandler<R extends RequestMessage,O extends ResponseMessage<?>> This handler performs the server-side part of a three-way handshake to create a session. -
Exception Summary Exception Description MessageDecoderException A MessageDecoderException is thrown by theMessageDecoder
when errors occur.MessageEncoderException A MessageEncoderException is thrown by theMessageEncoder
when errors occur.