mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-24 03:00:15 +00:00
26 lines
555 B
Python
26 lines
555 B
Python
|
"""
|
||
|
SleekXMPP: The Sleek XMPP Library
|
||
|
Copyright (C) 2010 Nathanael C. Fritz
|
||
|
This file is part of SleekXMPP.
|
||
|
|
||
|
See the file LICENSE for copying permission.
|
||
|
"""
|
||
|
|
||
|
from sleekxmpp.stanza import Iq, StreamFeatures
|
||
|
from sleekxmpp.xmlstream import ElementBase, ET, register_stanza_plugin
|
||
|
|
||
|
|
||
|
class Session(ElementBase):
|
||
|
|
||
|
"""
|
||
|
"""
|
||
|
|
||
|
name = 'bind'
|
||
|
namespace = 'urn:ietf:params:xml:ns:xmpp-session'
|
||
|
interfaces = set()
|
||
|
plugin_attrib = 'session'
|
||
|
|
||
|
|
||
|
register_stanza_plugin(Iq, Session)
|
||
|
register_stanza_plugin(StreamFeatures, Session)
|