2011-08-13 00:33:32 +00:00
|
|
|
.. _glossary:
|
|
|
|
|
|
|
|
Glossary
|
|
|
|
========
|
|
|
|
|
|
|
|
.. glossary::
|
|
|
|
:sorted:
|
|
|
|
|
|
|
|
stream handler
|
|
|
|
A callback function that accepts stanza objects pulled directly
|
|
|
|
from the XML stream. A stream handler is encapsulated in a
|
2015-02-24 17:58:40 +00:00
|
|
|
object that includes a :class:`Matcher <.MatcherBase>` object, and
|
|
|
|
which provides additional semantics. For example, the
|
|
|
|
:class:`.Waiter` handler wrapper blocks thread execution until a
|
|
|
|
matching stanza is received.
|
2011-08-13 00:33:32 +00:00
|
|
|
|
|
|
|
event handler
|
|
|
|
A callback function that responds to events raised by
|
2015-02-24 17:58:40 +00:00
|
|
|
:meth:`.XMLStream.event`.
|
2011-08-13 00:33:32 +00:00
|
|
|
|
|
|
|
stanza object
|
2015-02-24 17:58:40 +00:00
|
|
|
Informally may refer both to classes which extend :class:`.ElementBase`
|
|
|
|
or :class:`.StanzaBase`, and to objects of such classes.
|
2011-08-13 00:33:32 +00:00
|
|
|
|
2015-02-24 17:58:40 +00:00
|
|
|
A stanza object is a wrapper for an XML object which exposes :class:`dict`
|
2011-08-13 00:33:32 +00:00
|
|
|
like interfaces which may be assigned to, read from, or deleted.
|
|
|
|
|
|
|
|
stanza plugin
|
|
|
|
A :term:`stanza object` which has been registered as a potential child
|
|
|
|
of another stanza object. The plugin stanza may accessed through the
|
|
|
|
parent stanza using the plugin's ``plugin_attrib`` as an interface.
|
|
|
|
|
|
|
|
substanza
|
|
|
|
See :term:`stanza plugin`
|
2020-12-10 18:17:11 +00:00
|
|
|
|
|
|
|
interfaces
|
|
|
|
A set of keys defined on a :term:`stanza plugin`.
|
|
|
|
|
|
|
|
stanza
|
|
|
|
An XML payload sent over the XML stream, which is the root of XMPP.
|
|
|
|
A stanza is either ``<iq/>``, ``<message/>`` or ``<presence/>``. Other
|
|
|
|
elements are called nonzas.
|