pyxmpp.stanza

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

## Module pyxmpp.stanza

General XMPP Stanza handling.

Normative reference:
  - RFC 3920

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` = 193047

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. Returns: 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:
        193047