XEP 0198¶
-
class
slixmpp.plugins.xep_0198.XEP_0198(xmpp, config=None)[source]¶ XEP-0198: Stream Management
-
stanza= <module 'slixmpp.plugins.xep_0198.stanza' from '/build/slixmpp-bP7NsY/slixmpp-1.7.0/slixmpp/plugins/xep_0198/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_0198.stanza.Ack(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
-
interfaces= {'h'}¶
-
name= 'a'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.Enable(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
-
interfaces= {'max', 'resume'}¶
-
name= 'enable'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.Enabled(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
-
interfaces= {'id', 'location', 'max', 'resume'}¶
-
name= 'enabled'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.Failed(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
interfaces= {}¶
-
name= 'failed'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.RequestAck(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
interfaces= {}¶
-
name= 'r'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.Resume(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
-
interfaces= {'h', 'previd'}¶
-
name= 'resume'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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_0198.stanza.Resumed(stream=None, xml=None, stype=None, sto=None, sfrom=None, sid=None, parent=None)[source]¶ -
-
interfaces= {'h', 'previd'}¶
-
name= 'resumed'¶
-
namespace= 'urn:xmpp:sm:3'¶
-
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.
-