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
def __init__(self, filedes, condition=gobject.IO_IN, priority=gobject.PRIORITY_DEFAULT):

Create a new WaitForIO object.

Parametersfiledesobject to monitor for IO (type: int file descriptor, or a gobject.IOChannel, or an object with a fileno() method, such as socket or unix file.)
conditionIO event mask (type: a set of gobject.IO_* flags ORed together)
prioritymainloop source priority
def arm(self, tasklet):

Overrides WaitCondition.arm

def disarm(self):

Overrides WaitCondition.disarm

def _io_cb(self, unused_filedes, condition):
Undocumented
API Documentation for Kiwi, generated by pydoctor at 2019-12-22 23:48:14.