Package org.drasyl.handler.connection
package org.drasyl.handler.connection
Connection-oriented communication with peers.
-
ClassDescriptionSignals that the connection is closing.Encodes
ByteBuf
s toConnectionHandshakeSegment
s and vice versa.Signals that the handshake was completed successfully.Signals handshake states.Is thrown when a connection handshake failed or an established connection is being reset by the remote peer.This handler partially implements the Transmission Control Protocol know from RFC 793.Signals that the handshake was started but the remote peer dis not response yet to the request.This handler pends all channel writes in aPendingWriteQueue
until a connection handshake has been signaled by receiving aConnectionHandshakeCompleted
event.A message used byConnectionHandshakeHandler
to perform a handshake.