|
|
__init__(self,
settings=None,
handlers=None)
x.__init__(...) initializes x; see help(type(x)) for signature |
|
|
|
|
add_handler(self,
handler)
Add a new handler to the main loop. |
|
|
|
|
|
|
|
_add_io_handler(self,
handler)
Add an IOHandler to the pool. |
|
|
|
|
_run_io_threads(self,
handler)
Start threads for an IOHandler. |
|
|
|
|
_remove_io_handler(self,
handler)
Remove an IOHandler from the pool. |
|
|
|
|
_add_timeout_handler(self,
handler)
Add a TimeoutHandler to the pool. |
|
|
|
|
_run_timeout_threads(self,
handler)
Start threads for a TimeoutHandler. |
|
|
|
|
_remove_timeout_handler(self,
handler)
Remove a TimeoutHandler from the pool. |
|
|
|
|
start(self,
daemon=False)
Start the threads. |
|
|
|
|
stop(self,
join=False,
timeout=None)
Stop the threads. |
|
|
|
|
quit(self)
Make the loop stop after the current iteration. |
|
|
|
|
loop(self,
timeout=None)
Run the loop. |
|
|
|
|
loop_iteration(self,
timeout=0.1)
Wait up to timeout seconds, raise any exception from the
threads. |
|
|
|
Inherited from interfaces.MainLoop:
delayed_call
Inherited from object:
__delattr__,
__format__,
__getattribute__,
__hash__,
__new__,
__reduce__,
__reduce_ex__,
__repr__,
__setattr__,
__sizeof__,
__str__,
__subclasshook__
|