summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0066/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-07-03 00:35:36 -0700
committerLance Stout <lancestout@gmail.com>2011-07-03 00:36:36 -0700
commit086bf89d699c88ab89ad1e1975d6022335ca5c04 (patch)
tree17d123b171f9668078b2d7a4682bd56dcdb93376 /sleekxmpp/plugins/xep_0066/stanza.py
parent2a2ac73845ffc8695e2bc55746f45e1a18d55e6c (diff)
downloadslixmpp-086bf89d699c88ab89ad1e1975d6022335ca5c04.tar.gz
slixmpp-086bf89d699c88ab89ad1e1975d6022335ca5c04.tar.bz2
slixmpp-086bf89d699c88ab89ad1e1975d6022335ca5c04.tar.xz
slixmpp-086bf89d699c88ab89ad1e1975d6022335ca5c04.zip
Added XEP-0066: Out-of-Band Data
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