XEP 0352¶
-
class
slixmpp.plugins.xep_0352.XEP_0352(xmpp, config=None)[source]¶ XEP-0352: Client State Indication
-
stanza= <module 'slixmpp.plugins.xep_0352.stanza' from '/build/slixmpp-bP7NsY/slixmpp-1.7.0/slixmpp/plugins/xep_0352/stanza.py'>¶
-
Stanza elements¶
Slixmpp: The Slick XMPP Library Copyright (C) 2012 Nathanael C. Fritz, Lance J.T. Stout This file is part of Slixmpp.
See the file LICENSE for copying permission.
-
class
slixmpp.plugins.xep_0352.stanza.Active(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
name= 'active'¶
-
namespace= 'urn:xmpp:csi:0'¶
-
plugin_attrib= 'active'¶
-
setup(xml)[source]¶ Initialize the stanza’s XML contents.
Will return
Trueif XML was generated according to the stanza’s definition instead of building a stanza object from an existing XML object.- Parameters
xml – An existing XML object to use for the stanza’s content instead of generating new XML.
-
-
class
slixmpp.plugins.xep_0352.stanza.ClientStateIndication(xml=None, parent=None)[source]¶ -
name= 'csi'¶
-
namespace= 'urn:xmpp:csi:0'¶
-
plugin_attrib= 'csi'¶
-
-
class
slixmpp.plugins.xep_0352.stanza.Inactive(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
name= 'inactive'¶
-
namespace= 'urn:xmpp:csi:0'¶
-
plugin_attrib= 'inactive'¶
-
setup(xml)[source]¶ Initialize the stanza’s XML contents.
Will return
Trueif XML was generated according to the stanza’s definition instead of building a stanza object from an existing XML object.- Parameters
xml – An existing XML object to use for the stanza’s content instead of generating new XML.
-