Module delay
source code
Delayed delivery mark (jabber:x:delay) handling.
- Normative reference:
-
|
Delay
Delayed delivery tag.
|
|
DELAY_NS = ' jabber:x:delay '
|
|
__package__ = ' pyxmpp.jabber '
|
Imports:
libxml2,
time,
datetime,
JID,
to_utf8,
from_utf8,
get_node_ns_uri,
datetime_utc_to_local,
datetime_local_to_utc,
StanzaPayloadObject,
BadRequestProtocolError,
JIDMalformedProtocolError,
JIDError
Get jabber:x:delay elements from the stanza.
- Parameters:
- Returns:
list of Delay
- list of delay tags sorted by the timestamp.
|
Get the oldest jabber:x:delay elements from the stanza.
The return value, if not None , contains a quite reliable
timestamp of a delayed (e.g. from offline storage) message.
- Parameters:
- Returns: Delay
- the oldest delay tag of the stanza or
None .
|