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

Class WrittingThread


A thread reading from io_handler.

It can be used (together with WrittingThread) instead of a main loop.

Instance Methods [hide private]
 
__init__(self, settings, io_handler, name=None, daemon=True, exc_queue=None)
x.__init__(...) initializes x; see help(type(x)) for signature
 
run(self)
The thread function.

Inherited from IOThread: is_alive, join, start, stop

Inherited from IOThread (private): _run

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

Instance Variables [hide private]

Inherited from IOThread: exc_info, exc_queue, io_handler, name, thread

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, settings, io_handler, 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.

Loop waiting for the handler and socket being writable and calling interfaces.IOHandler.handle_write.

Overrides: IOThread.run