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

Module pyxmpp.stanza

General XMPP Stanza handling.

Normative reference:
  - `RFC 3920 <http://www.ietf.org/rfc/rfc3920.txt>`__

Classes
Stanza Base class for all XMPP stanzas.

Exceptions
StanzaError Raised on ivalid stanza objects usage.

Function Summary
  gen_id()
Generate stanza id unique for the session.

Variable Summary
str __revision__ = '$Id: stanza.py 616 2005-12-26 15:28:56Z ...
int last_id = 461861                                                                

Imported modules:
libxml2, random, pyxmpp.xmlextra
Imported classes:
JID
Imported functions:
from_utf8, to_utf8
Imported variables:
common_doc, COMMON_NS, common_ns
Function Details

gen_id()

Generate stanza id unique for the session.

:return: the new id.

Variable Details

__revision__

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

last_id

Type:
int
Value:
461861                                                                

Generated by Epydoc 2.1 on Wed May 31 22:37:00 2006 http://epydoc.sf.net