EventLoop
All operations except wakeup(boolean) and isCompatible(Class) MUST be executed
on the EventLoop thread and should never be called from the user-directly.
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public boolean | Returns: if compatible of not.the type of the handleType)IoHandle.Returns |
| public void | |
| public void | |
| public int | Returns: the number ofIoHandle for which I/O was handled.Run the IO handled by this |
| public void |
| deregister | back to summary |
|---|---|
| public void deregister(IoHandle handle) throws Exception Deregister a | |
| destroy | back to summary |
|---|---|
| public void destroy() Destroy the | |
| isCompatible | back to summary |
|---|---|
| public boolean isCompatible(Class<? extends IoHandle> handleType) Returns | |
| prepareToDestroy | back to summary |
|---|---|
| public void prepareToDestroy() Prepare to destroy this | |
| register | back to summary |
|---|---|
| public void register(IoHandle channel) throws Exception Register a | |
| run | back to summary |
|---|---|
| public int run(IoExecutionContext context) Run the IO handled by this
| |
| wakeup | back to summary |
|---|---|
| public void wakeup(boolean inEventLoop) Wakeup the | |