T - The type of Event processed by this handlerpublic interface EventHandler<T extends Event>
Event| Modifier and Type | Field and Description |
|---|---|
static EventHandler |
NULL_EVENTHANDLER |
| Modifier and Type | Method and Description |
|---|---|
default void |
afterEvent()
called when all nodes that depend upon this EventHadler have successfully
completed their processing.
|
default Class<? extends Event> |
eventClass()
The class of the Event processed by this handler
|
void |
onEvent(T e)
Called when a new event e is ready to be processed.
|
static final EventHandler NULL_EVENTHANDLER
Copyright © 2019. All rights reserved.