Package pyxmpp :: Package jabber :: Module disco
[show private | hide private]
[frames | no frames]

Module pyxmpp.jabber.disco

Jabber Service Discovery support.

Normative reference:

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

Exceptions
DiscoError Raised on disco related error

Function Summary
  register_disco_cache_fetchers(cache_suite, stream)
Register Service Discovery cache fetchers into given cache suite and using the stream provided.

Variable Summary
str __revision__ = '$Id: disco.py 616 2005-12-26 15:28:56Z j...
str DISCO_INFO_NS = 'http://jabber.org/protocol/disco#info'
str DISCO_ITEMS_NS = 'http://jabber.org/protocol/disco#items...
str DISCO_NS = 'http://jabber.org/protocol/disco'

Imported modules:
pyxmpp.cache, libxml2
Imported classes:
CachedPropertyObject, JID, StanzaPayloadWrapperObject
Imported exceptions:
StanzaError
Imported functions:
to_utf8
Imported variables:
common_doc, common_root
Function Details

register_disco_cache_fetchers(cache_suite, stream)

Register Service Discovery cache fetchers into given cache suite and using the stream provided.
Parameters:
cache_suite - the cache suite where the fetchers are to be registered.
           (type=cache.CacheSuite)
stream - the stream to be used by the fetchers.
           (type=pyxmpp.stream.Stream)

Variable Details

__revision__

Type:
str
Value:
'$Id: disco.py 616 2005-12-26 15:28:56Z jajcus $'                      

DISCO_INFO_NS

Type:
str
Value:
'http://jabber.org/protocol/disco#info'                                

DISCO_ITEMS_NS

Type:
str
Value:
'http://jabber.org/protocol/disco#items'                               

DISCO_NS

Type:
str
Value:
'http://jabber.org/protocol/disco'