Infinity.IoInterface¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
add_dispatch |
r |
Schedules func to be called by the thread the |
|
add_timeout |
r |
Schedules func to be called at least msecs milliseconds in the future. |
|
add_watch |
r |
Watches a socket for events to occur in which case func is called. |
|
parent |
r |
||
remove_dispatch |
r |
Removes a scheduled dispatch. This can be called as long as the scheduled function has not yet been called. |
|
remove_timeout |
r |
Removes a scheduled timeout again. The timeout is removed automatically when it has elapsed, so there is no need to call this function in that case. |
|
remove_watch |
r |
Removes a watch on a socket. |
|
update_watch |
r |
Updates a watch on a socket so that a different set of events is watched for. |
Methods¶
None
Details¶
- class Infinity.IoInterface¶
The virtual methods of
Infinity.Io
. These allow to set up socket watches, timeouts and function dispatchers. All of these functions need to be thread-safe.