|
gloox
0.9.9.12
|
#include <xdelayeddelivery.h>


Public Member Functions | |
| GLOOX_DEPRECATED_CTOR | XDelayedDelivery (const JID &from, const std::string stamp, const std::string &reason) |
| XDelayedDelivery (Tag *tag) | |
| virtual | ~XDelayedDelivery () |
| const std::string & | stamp () const |
| const JID & | from () const |
| const std::string & | reason () const |
| virtual Tag * | tag () const |
Public Member Functions inherited from StanzaExtension | |
| StanzaExtension (StanzaExtensionType type) | |
| virtual | ~StanzaExtension () |
| StanzaExtensionType | type () const |
This is an implementation of XEP-0091 (Delayed Delivery).
XEP Version: 1.2
Definition at line 34 of file xdelayeddelivery.h.
| XDelayedDelivery | ( | const JID & | from, |
| const std::string | stamp, | ||
| const std::string & | reason | ||
| ) |
Constructs a new object and fills it according to the parameters.
| from | The JID of the original sender or the entity that delayed the sending. |
| stamp | The datetime stamp of the original send. |
| reason | A natural language reason for the delay. |
Definition at line 21 of file xdelayeddelivery.cpp.
| XDelayedDelivery | ( | Tag * | tag | ) |
Constructs a new object from the given Tag.
| tag | The Tag to parse. |
Definition at line 28 of file xdelayeddelivery.cpp.
|
virtual |
Virtual Destructor.
Definition at line 41 of file xdelayeddelivery.cpp.
|
inline |
Returns the JID of the original sender of the stanza or of the entity that delayed the sending.
Definition at line 70 of file xdelayeddelivery.h.
|
inline |
Returns a natural language reason for the delay.
Definition at line 76 of file xdelayeddelivery.h.
|
inline |
Returns the datetime when the stanza was originally sent. The format SHOULD be "CCYYMMDDThh:mm:ss" and is to be understood as UTC.
Definition at line 63 of file xdelayeddelivery.h.
|
virtual |
Returns a Tag representation of the extension.
Implements StanzaExtension.
Definition at line 45 of file xdelayeddelivery.cpp.
1.8.1.2