Uses of Interface
org.drasyl.node.event.Event
Packages that use Event
Package
Description
Contains
DrasylNode.Describes
DrasylNodes as finite state machines.Contains events that inform about various states of the
DrasylNode
(started, stopped, etc.) or overlay network events (messages, peer discovery, etc.)Events that are emitted when this plugin is enabled.-
Uses of Event in org.drasyl.node
Methods in org.drasyl.node with parameters of type Event -
Uses of Event in org.drasyl.node.behaviour
Methods in org.drasyl.node.behaviour with type parameters of type EventModifier and TypeMethodDescription<M extends Event>
Behavior.BehaviorBuilderAdds a new case to the event handling.<M extends Event>
Behavior.BehaviorBuilderAdds a new predicated case to the event handling.<M extends Event>
Behavior.BehaviorBuilderBehavior.BehaviorBuilder.onEventEquals(M event, Supplier<Behavior> handler) Add a new case to the event handling matching equal events.Methods in org.drasyl.node.behaviour with parameters of type EventModifier and TypeMethodDescriptionfinal voidProcess an incoming event and return the next behavior.io.netty.util.concurrent.Future<?>Behaviors.EventScheduler.scheduleEvent(Event event) Schedules a self event.io.netty.util.concurrent.Future<?>Behaviors.EventScheduler.scheduleEvent(Event event, Duration delay) Schedules a self event.io.netty.util.concurrent.Future<?>Behaviors.EventScheduler.schedulePeriodicallyEvent(Event event, Duration initialDelay, Duration period) Schedules a self event.Method parameters in org.drasyl.node.behaviour with type arguments of type EventModifier and TypeMethodDescriptionBehavior.BehaviorBuilder.onAnyEvent(Function<Event, Behavior> handler) Adds a new case to the event handling matching any event. -
Uses of Event in org.drasyl.node.event
Subinterfaces of Event in org.drasyl.node.eventModifier and TypeInterfaceDescriptioninterfaceEvents that refer to aNode.interfaceEvents that refer to aPeer.Classes in org.drasyl.node.event that implement EventModifier and TypeClassDescriptionclassThis event signals that the node was unable to process an inbound message.classThis event signals, that currently all messages from and to the#peerare only encrypted with a long time key.classThis event signals that the node has received a message addressed to it.classThis event signals that the node is shut down.classThis event signals that the node has terminated normally.classThis event signals that the node is currently not connected to a super peer.classThis event signals that the node is currently connected to a super peer.classThis event signals that the node encountered an unrecoverable error.classThis event signals that the node has been started.classThis event signals that the node has established a direct connection to a peer.classThis event signals that communication with this peer is only possible by relaying messages via a super peer.classThis event signals, that currently all messages from and to the#peerare encrypted with an ephemeral session key. -
Uses of Event in org.drasyl.node.plugin.groups.client.event
Subinterfaces of Event in org.drasyl.node.plugin.groups.client.eventClasses in org.drasyl.node.plugin.groups.client.event that implement EventModifier and TypeClassDescriptionclassAn event that signals that this node has successfully joined a group.classAn event that signals, that a joining a specific group has failed.classAn event that signals that this node has left a group.classAn event that signals that a new member joined a group.classAn event that signals that a member has left a group.