mirror of
https://github.com/correl/SleekXMPP.git
synced 2024-11-28 03:00:16 +00:00
27 lines
591 B
Python
27 lines
591 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 Bind(ElementBase):
|
||
|
|
||
|
"""
|
||
|
"""
|
||
|
|
||
|
name = 'bind'
|
||
|
namespace = 'urn:ietf:params:xml:ns:xmpp-bind'
|
||
|
interfaces = set(('resource', 'jid'))
|
||
|
sub_interfaces = interfaces
|
||
|
plugin_attrib = 'bind'
|
||
|
|
||
|
|
||
|
register_stanza_plugin(Iq, Bind)
|
||
|
register_stanza_plugin(StreamFeatures, Bind)
|