public interface IPollEvents
Modifier and Type | Method and Description |
---|---|
default void |
acceptEvent()
Called by I/O thread when file descriptor is ready for accept.
|
default void |
connectEvent()
Called by I/O thread when file descriptor might be ready for connecting.
|
default void |
inEvent()
Called by I/O thread when file descriptor is ready for reading.
|
default void |
outEvent()
Called by I/O thread when file descriptor is ready for writing.
|
default void |
timerEvent(int id)
Called when timer expires.
|
default void inEvent()
default void outEvent()
default void connectEvent()
default void acceptEvent()
default void timerEvent(int id)
id
- the ID of the expired timer.