pyxmpp.jabber.disco

Package pyxmpp :: Package jabber :: Module disco |
[hide private]

# Module disco

source code

Jabber Service Discovery support.

Normative reference:
  - JEP 30

Classes | [hide private]
| DiscoItem An item of disco#items reply.
| DiscoIdentity An <identity/> element of disco#info reply.
| DiscoItems A disco#items response or publish-request object.
| DiscoInfo A disco#info response object.
| DiscoCacheFetcherBase Base class for disco cache fetchers.

Functions | [hide private]
register_disco_cache_fetchers(cache_suite, stream) Register Service Discovery cache fetchers into given cache suite and using the stream provided. | source code

Variables | [hide private]
| DISCO_NS = ``'``http://jabber.org/protocol/disco``'``
| DISCO_ITEMS_NS = ``'``http://jabber.org/protocol/disco#items``'``
| DISCO_INFO_NS = ``'``http://jabber.org/protocol/disco#info``'``
| __package__ = ``'``pyxmpp.jabber``'``

Imports: warnings, libxml2, common_doc, common_root, JID, cache, to_utf8, StanzaPayloadWrapperObject, ProtocolError

Function Details | [hide private]

### register_disco_cache_fetchers(cache_suite, stream) | source code
Register Service Discovery cache fetchers into given cache suite and using the stream provided. Parameters: `cache_suite` (: cache.CacheSuite) - : the cache suite where the fetchers are to be registered. `stream` (: pyxmpp.stream.Stream) - : the stream to be used by the fetchers.