Uses of Interface
org.drasyl.node.event.Event
Package
Description
Contains
DrasylNode
.Describes
DrasylNode
s 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.)Event
s that are emitted when this plugin is enabled.-
Uses of Event in org.drasyl.node
-
Uses of Event in org.drasyl.node.behaviour
Modifier 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.Modifier and TypeMethodDescriptionfinal void
Process 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.Modifier 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
Modifier and TypeInterfaceDescriptioninterface
Events that refer to aNode
.interface
Events that refer to aPeer
.Modifier and TypeClassDescriptionclass
This event signals that the node was unable to process an inbound message.class
This event signals, that currently all messages from and to the#peer
are only encrypted with a long time key.class
This event signals that the node has received a message addressed to it.class
This event signals that the node is shut down.class
This events signals that the node has terminated normally.class
This event signals that the node is currently not connected to a super peer.class
This event signals that the node is currently connected to a super peer.class
This events signals that the node encountered an unrecoverable error.class
This event signals that the node has been started.class
This event signals that the node has established a direct connection to a peer.class
This event signals that communication with this peer is only possible by relaying messages via a super peer.class
This event signals, that currently all messages from and to the#peer
are encrypted with an ephemeral session key. -
Uses of Event in org.drasyl.node.plugin.groups.client.event
Modifier and TypeClassDescriptionclass
An event that signals that this node has successfully joined a group.class
An event that signals, that a joining a specific group has failed.class
An event that signals that this node has left a group.class
An event that signals that a new member joined a group.class
An event that signals that a member has left a group.