@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)
default HandlerPriority priority()
boolean action()
throws InvalidEventHandlerException,
InterruptedException
InvalidEventHandlerException - when it is not longer valid.InterruptedExceptionCopyright © 2016. All rights reserved.