Package org.drasyl.peer.connection.handler
netty handlers for peer connections.
-
Class Summary Class Description AbstractThreeWayHandshakeClientHandler<R extends RequestMessage,O extends ResponseMessage<?>> This handler performs the client-side part of a three-way handshake to create a session.AbstractThreeWayHandshakeServerHandler<R extends RequestMessage,O extends ResponseMessage<?>> This handler performs the server-side part of a three-way handshake to create a session.ConnectionExceptionMessageHandler Fires a channel wide close event, when aConnectionExceptionMessage
received.ExceptionHandler This handler listens to exceptions on the pipeline and sends them asExceptionMessage
to the peer.MessageDecoder MessageEncoder PingPongHandler This handler acts as a health check for a connection.RelayableMessageGuard This handler ensures thatRelayableMessage
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.