mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-12-18 03:00:18 +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)
|