kiwi.tasklet.WaitForIO(WaitCondition) class documentationkiwi.tasklet
(View In Hierarchy)
An object that waits for IO conditions on sockets or file descriptors.
| Method | __init__ | Create a new WaitForIO object. |
| Method | arm | Overrides WaitCondition.arm |
| Method | disarm | Overrides WaitCondition.disarm |
| Method | _io_cb | Undocumented |
Create a new WaitForIO object.
@param filedes: object to monitor for IO
@type filedes: int file descriptor, or a
gobject.IOChannel, or an object with a C{fileno()}
method, such as socket or unix file.
@param condition: IO event mask
@type condition: a set of C{gobject.IO_*} flags ORed together
@param priority: mainloop source priority