2011-01-28 05:49:37 +00:00
|
|
|
"""
|
|
|
|
SleekXMPP: The Sleek XMPP Library
|
|
|
|
Copyright (C) 2010 Nathanael C. Fritz
|
|
|
|
This file is part of SleekXMPP.
|
|
|
|
|
|
|
|
See the file LICENSE for copying permission.
|
|
|
|
"""
|
|
|
|
|
2011-06-28 18:06:44 +00:00
|
|
|
from sleekxmpp.stanza import Iq
|
|
|
|
from sleekxmpp.stanza.stream import StreamFeatures
|
2011-01-28 05:49:37 +00:00
|
|
|
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
|
|
|
|
|
|
|
|
|
|
|
|
class Session(ElementBase):
|
|
|
|
|
|
|
|
"""
|
|
|
|
"""
|
|
|
|
|
2011-03-18 21:57:49 +00:00
|
|
|
name = 'session'
|
2011-01-28 05:49:37 +00:00
|
|
|
namespace = 'urn:ietf:params:xml:ns:xmpp-session'
|
|
|
|
interfaces = set()
|
|
|
|
plugin_attrib = 'session'
|
|
|
|
|
|
|
|
|
|
|
|
register_stanza_plugin(Iq, Session)
|
|
|
|
register_stanza_plugin(StreamFeatures, Session)
|