#include <delayeddelivery.h>
Inherits StanzaExtension.
Inheritance diagram for DelayedDelivery:

Public Member Functions | |
| DelayedDelivery (const JID &from, const std::string stamp, const std::string &reason="") | |
| DelayedDelivery (const Tag *tag=0) | |
| virtual | ~DelayedDelivery () |
| const std::string & | stamp () const |
| void | setStamp (const std::string &stamp) |
| const JID & | from () const |
| void | setFrom (const JID &from) |
| const std::string & | reason () const |
| void | setReason (const std::string &reason) |
| virtual const std::string & | filterString () const |
| virtual StanzaExtension * | newInstance (const Tag *tag) const |
| virtual Tag * | tag () const |
| virtual StanzaExtension * | clone () const |
The class also implements the deprecated XEP-0091 (Delayed Delivery) in a read-only fashion. It understands both XEP formats for input, but any output will conform to XEP-0203.
XEP Version: 0.1
Definition at line 38 of file delayeddelivery.h.
|
||||||||||||||||
|
Constructs a new object and fills it according to the parameters.
Definition at line 21 of file delayeddelivery.cpp. |
|
|
Constructs a new object from the given Tag.
Definition at line 29 of file delayeddelivery.cpp. |
|
|
Virtual Destructor. Definition at line 44 of file delayeddelivery.cpp. |
|
|
Returns an identical copy of the current StanzaExtension.
Implements StanzaExtension. Definition at line 116 of file delayeddelivery.h. |
|
|
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
Implements StanzaExtension. Definition at line 48 of file delayeddelivery.cpp. |
|
|
Returns the JID of the original sender of the stanza or the entity that delayed the sending. The format MUST adhere to the dateTime format specified in XEP-0082 and MUST be expressed in UTC.
Definition at line 83 of file delayeddelivery.h. |
|
|
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like: StanzaExtension* FooExtension::newInstance( const Tag* tag ) const { return new FooExtension( tag ); }
Implements StanzaExtension. Definition at line 107 of file delayeddelivery.h. |
|
|
Returns a natural language reason for the delay.
Definition at line 95 of file delayeddelivery.h. |
|
|
Sets the JID of the origianl sender or the entity that delayed the sending.
Definition at line 89 of file delayeddelivery.h. |
|
|
Sets the reason for the delay.
Definition at line 101 of file delayeddelivery.h. |
|
|
Sets the original datetime.
Definition at line 74 of file delayeddelivery.h. |
|
|
Returns the datetime when the stanza was originally sent. The format MUST adhere to the dateTime format specified in XEP-0082 and MUST be expressed in UTC.
Definition at line 68 of file delayeddelivery.h. |
|
|
Returns a Tag representation of the extension.
Implements StanzaExtension. Definition at line 58 of file delayeddelivery.cpp. |
1.4.1