summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler/xmlcallback.py
blob: 67879dfe9cb8d92de5b5283f093e92132ae8bb9b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
"""
    SleekXMPP: The Sleek XMPP Library
    Copyright (C) 2010  Nathanael C. Fritz
    This file is part of SleekXMPP.

    See the file LICENSE for copying permission.
"""
import threading
from . callback import Callback

class XMLCallback(Callback):
	
	def run(self, payload, instream=False):
		Callback.run(self, payload.xml, instream)