summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0066/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-07-03 00:39:02 -0700
committerLance Stout <lancestout@gmail.com>2011-07-03 00:39:02 -0700
commit48fb7006f75dd03caa23f61cb512f9002fe91b90 (patch)
treebbaea934492ba83c0a7e40b9c7d798f3743e37e5 /sleekxmpp/plugins/xep_0066/stanza.py
parent7057984831b2a96980871476686273f8591f8101 (diff)
parent086bf89d699c88ab89ad1e1975d6022335ca5c04 (diff)
downloadslixmpp-48fb7006f75dd03caa23f61cb512f9002fe91b90.tar.gz
slixmpp-48fb7006f75dd03caa23f61cb512f9002fe91b90.tar.bz2
slixmpp-48fb7006f75dd03caa23f61cb512f9002fe91b90.tar.xz
slixmpp-48fb7006f75dd03caa23f61cb512f9002fe91b90.zip
Merge branch 'develop' into roster
Diffstat (limited to 'sleekxmpp/plugins/xep_0066/stanza.py')
-rw-r--r--sleekxmpp/plugins/xep_0066/stanza.py33
1 files changed, 33 insertions, 0 deletions
diff --git a/sleekxmpp/plugins/xep_0066/stanza.py b/sleekxmpp/plugins/xep_0066/stanza.py
new file mode 100644
index 00000000..21387485
--- /dev/null
+++ b/sleekxmpp/plugins/xep_0066/stanza.py
@@ -0,0 +1,33 @@
+"""
+ SleekXMPP: The Sleek XMPP Library
+ Copyright (C) 2011 Nathanael C. Fritz, Lance J.T. Stout
+ This file is part of SleekXMPP.
+
+ See the file LICENSE for copying permission.
+"""
+
+from sleekxmpp.xmlstream import ElementBase
+
+
+class OOBTransfer(ElementBase):
+
+ """
+ """
+
+ name = 'query'
+ namespace = 'jabber:iq:oob'
+ plugin_attrib = 'oob_transfer'
+ interfaces = set(('url', 'desc', 'sid'))
+ sub_interfaces = set(('url', 'desc'))
+
+
+class OOB(ElementBase):
+
+ """
+ """
+
+ name = 'x'
+ namespace = 'jabber:x:oob'
+ plugin_attrib = 'oob'
+ interfaces = set(('url', 'desc'))
+ sub_interfaces = interfaces