pyxmpp.jabber.muccore.HistoryParameters

Package pyxmpp :: Package jabber :: Module muccore :: Class HistoryParameters |
[show private | hide private]
[frames | no frames]

## Type HistoryParameters

    object --+
             |
            HistoryParameters

Provides parameters for MUC history management

Method Summary
| ``__init__`(self, maxchars, maxstanzas, maxseconds, since)` Initializes a `HistoryParameters` object.
Inherited from object
| ``__delattr__`(...)` x.__delattr__('name') <==> del x.name
| ``__getattribute__`(...)` x.__getattribute__('name') <==> x.name
| ``__hash__`(x)` x.__hash__() <==> hash(x)
| ``__new__`(T, S, ...)` T.__new__(S, ...) -> a new object with type S, a subtype of T
| ``__reduce__`(...)` helper for pickle
| ``__reduce_ex__`(...)` helper for pickle
| ``__repr__`(x)` x.__repr__() <==> repr(x)
| ``__setattr__`(...)` x.__setattr__('name', value) <==> x.name = value
| ``__str__`(x)` x.__str__() <==> str(x)

Instance Variable Summary
`int` | `maxchars`: limit of the total number of characters in history.
`int` | `maxstanzas`: limit of the total number of messages in history.
`int` | `seconds`: send only messages received in the last `seconds` seconds.
`datetime.datetime` | `since`: Send only the messages received since the dateTime (UTC) specified.

Method Details

### __init__(self, maxchars=None, maxstanzas=None, maxseconds=None, since=None) (Constructor) Initializes a `HistoryParameters` object. Parameters: `maxchars` - limit of the total number of characters in history. (type=`int`) `maxstanzas` - limit of the total number of messages in history. (type=`int`) `maxseconds` - send only messages received in the last `seconds` seconds. (type=`int`) `since` - Send only the messages received since the dateTime specified. (type=`datetime.datetime`) Overrides: `__builtin__.object.__init__`

Instance Variable Details

### maxchars limit of the total number of characters in history. Type: `int`

### maxstanzas limit of the total number of messages in history. Type: `int`

### seconds send only messages received in the last `seconds` seconds. Type: `int`

### since Send only the messages received since the dateTime (UTC) specified. Type: `datetime.datetime`