pyxmpp.presence

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

## Module pyxmpp.presence

Presence XMPP stanza handling

Normative reference:
  - RFC 3920

Classes
`Presence` | Wraper object for <presence /> stanzas.

Variable Summary
`str` | `__revision__` = `'$Id: presence.py 603 2005-10-14 16:06:24...`
`dict` | `accept_responses` = `{'subscribe': 'subscribed', 'unsubscr...`
`dict` | `deny_responses` = `{'subscribe': 'unsubscribed', 'unsubscr...`
`tuple` | `presence_types` = `('available', 'unavailable', 'probe', '...`

Imported modules:
  `libxml2`
Imported classes:
  `Stanza`
Imported exceptions:
  `StanzaError`
Imported functions:
  `from_utf8`, `to_utf8`
Imported variables:
  `common_ns`

Variable Details

    ### __revision__ Type: `str` Value:
        '$Id: presence.py 603 2005-10-14 16:06:24Z jajcus $'

    ### accept_responses Type: `dict` Value:
        {'subscribe': 'subscribed',
         'subscribed': 'subscribe',
         'unsubscribe': 'unsubscribed',
         'unsubscribed': 'unsubscribe'}

    ### deny_responses Type: `dict` Value:
        {'subscribe': 'unsubscribed',
         'subscribed': 'unsubscribe',
         'unsubscribe': 'subscribed',
         'unsubscribed': 'subscribe'}

    ### presence_types Type: `tuple` Value:
        ('available',
         'unavailable',
         'probe',
         'subscribe',
         'unsubscribe',
         'subscribed',
         'unsubscribed',
         'invisible',
        ...