summaryrefslogtreecommitdiff
path: root/sleekxmpp/xmlstream/handler/xmlcallback.py
blob: 632c142bf0b69ff6794f3310761c52de3b3f9ff0 (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.txt for copying permission.
"""
import threading
from . callback import Callback

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