E - the event typeL - the listener type@FunctionalInterface
public interface EventExecutor<E,L>
| Modifier and Type | Interface and Description |
|---|---|
static interface |
EventExecutor.Factory<E,L>
Factory for
EventExecutors. |
| Modifier and Type | Method and Description |
|---|---|
void |
invoke(L listener,
E event)
Invokes the appropriate method on the given listener to handle the event.
|