Package org.drasyl.event
Contains events that inform the application about various states of the drasyl node, incoming
communication, or connection type changes.
-
Interface Summary Interface Description Event Describes an Event that provides the application with information about the local node, other peers, connections or incoming messages.NodeEvent Events that refer to aNode
.PeerEvent Events that refer to aPeer
. -
Class Summary Class Description MessageEvent This event signals that the node has received a message addressed to it.Node Used byEvent
to describe an event related to the local Node (e.g.NodeDownEvent This event signals that the node is shut down.NodeNormalTerminationEvent This events signals that the node has terminated normally.NodeOfflineEvent This event signals that the node is currently not connected to a super peer.NodeOnlineEvent This event signals that the node is currently connected to a super peer.NodeUnrecoverableErrorEvent This events signals that the node encountered an unrecoverable error.NodeUpEvent This event signals that the node has been started.Peer Used byEvent
to describe an event related to a Peer (e.g.PeerDirectEvent This event signals that the node has established a direct connection to a peer.PeerRelayEvent This event signals that communication with this peer is only possible by relaying messages via a super peer.