@FunctionalInterface public interface EventHandler
| Modifier and Type | Method and Description |
|---|---|
boolean |
action()
perform all tasks once and return ASAP.
|
default void |
eventLoop(EventLoop eventLoop) |
default HandlerPriority |
priority() |
default void eventLoop(EventLoop eventLoop)
@NotNull default HandlerPriority priority()
boolean action()
throws InvalidEventHandlerException
InvalidEventHandlerException - when it is not longer valid.Copyright © 2015. All rights reserved.