summaryrefslogtreecommitdiff
path: root/sleekxmpp/plugins/xep_0066/stanza.py
diff options
context:
space:
mode:
authorLance Stout <lancestout@gmail.com>2011-07-03 00:38:22 -0700
committerLance Stout <lancestout@gmail.com>2011-07-03 00:38:22 -0700
commit9a6eb333e65e58f705aca6a8874d5b65bd52e0e7 (patch)
tree90df9ed380f10b5db8a6e6f8b018519074ad31ad /sleekxmpp/plugins/xep_0066/stanza.py
parent0224d028e76ba608400fe55602fdb84f8e70f13b (diff)
parent086bf89d699c88ab89ad1e1975d6022335ca5c04 (diff)
downloadslixmpp-9a6eb333e65e58f705aca6a8874d5b65bd52e0e7.tar.gz
slixmpp-9a6eb333e65e58f705aca6a8874d5b65bd52e0e7.tar.bz2
slixmpp-9a6eb333e65e58f705aca6a8874d5b65bd52e0e7.tar.xz
slixmpp-9a6eb333e65e58f705aca6a8874d5b65bd52e0e7.zip
Merge branch 'develop' into stream_features
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