Package pyxmpp2 :: Package mainloop :: Module threads :: Class EventDispatcherThread
[hide private]

Class EventDispatcherThread


Event dispatcher thread.
Instance Methods [hide private]
 
__init__(self, event_dispatcher, name=None, daemon=True, exc_queue=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
start(self)
Start the thread.
 
is_alive(self)
Check if the thread is alive.
 
join(self, timeout)
Join the thread.
 
run(self)
The thread function.

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Instance Variables [hide private]
Queue.Queue event_queue
the event queue to poll
(type, value, traceback) tuple exc_info
this will hold exception information tuple whenever the thread was aborted by an exception.
unicode name
thread name (for debugging)
threading.Thread thread
the actual thread object
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, event_dispatcher, name=None, daemon=True, exc_queue=None)
(Constructor)

 
x.__init__(...) initializes x; see help(type(x)) for signature
Overrides: object.__init__
(inherited documentation)

run(self)

 
The thread function. Calls self.run() and if it raises an exception, stores it in self.exc_info and exc_queue