Module idlequeue
source code
Idlequeues are Gajim's network heartbeat. Transports can be plugged as idle
objects and be informed about possible IO
|
IdleObject
Idle listener interface. Listed methods are called by IdleQueue.
|
|
IdleCommand
Can be subclassed to execute commands asynchronously by the idlequeue.
Result will be optained via file descriptor of created pipe
|
|
IdleQueue
IdleQueue provide three distinct time based features. Uses select.poll()
|
|
SelectIdleQueue
Extends IdleQueue to use select.select() for polling
|
|
GlibIdleQueue
Extends IdleQueue to use glib io_add_wath, instead of select/poll In another
'non gui' implementation of Gajim IdleQueue can be used safetly
|
Imports:
os,
select,
logging,
gobject,
STDOUT,
PIPE,
call,
CalledProcessError,
Popen,
check_call,
check_output,
fcntl
Get an appropriate idlequeue
|
log
- Value:
logging.getLogger('nbxmpp.idlequeue')
|
|