Members list
Value members
Constructors
Concrete methods
Attributes
- Definition Classes
Attributes
- Definition Classes
Deregister a Channel for IO.
Deregister a Channel for IO.
Value parameters
- channel
-
the Channel to deregister..
Attributes
- Throws
-
Exception
thrown if an error happens during deregistration.
- Definition Classes
Destroy the IoHandler and free all its resources.
Attributes
- Definition Classes
Attributes
- Definition Classes
Returns true if the given type is compatible with this IoHandler and so can be registered, false otherwise.
Returns true if the given type is compatible with this IoHandler and so can be registered, false otherwise.
Value parameters
- handleType
-
the type of the Channel.
Attributes
- Returns
-
if compatible of not.
- Definition Classes
Attributes
- Definition Classes
Register a Channel for IO.
Register a Channel for IO.
Value parameters
- channel
-
the Channel to register.
Attributes
- Definition Classes
Run the IO handled by this IoHandler. The IoExecutionContext should be used to ensure we not execute too long and so block the processing of other task that are scheduled on the cc.otavia.core.actor.ChannelsActor . This is done by taking IoExecutionContext.delayNanos or IoExecutionContext.deadlineNanos into account.
Run the IO handled by this IoHandler. The IoExecutionContext should be used to ensure we not execute too long and so block the processing of other task that are scheduled on the cc.otavia.core.actor.ChannelsActor . This is done by taking IoExecutionContext.delayNanos or IoExecutionContext.deadlineNanos into account.
Attributes
- Returns
-
the number of IoHandle for which I/O was handled.
- Definition Classes
Inherited fields
Attributes
- Inherited from:
- IoHandler