mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-28 03:00:16 +00:00
05c9ea5c1d
* sleekxmpp no longer spawns threads for callback handlers -- there are now two threads: one for handlers and one for reading. callback handlers can get results from the read queue directly with the "wait" handler which is used in .send() for the reply catching argument.
7 lines
166 B
Python
7 lines
166 B
Python
import threading
|
|
from . callback import Callback
|
|
|
|
class XMLCallback(Callback):
|
|
|
|
def run(self, payload, instream=False):
|
|
Callback.run(self, payload.xml, instream)
|