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

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

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)

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.
    - `maxstanzas`: limit of the total number of messages in history.
    - `maxseconds`: send only messages received in the last `seconds` seconds.
    - `since`: Send only the messages received since the dateTime specified.
:Types:
    - `maxchars`: `int`
    - `maxstanzas`: `int`
    - `maxseconds`: `int`
    - `since`: `datetime.datetime`
Overrides:
__builtin__.object.__init__

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