#include <receipt.h>
Detailed Description
An implementation of Message Receipts (XEP-0184) as a StanzaExtension.
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
- Since
- 1.0
Definition at line 32 of file receipt.h.
Member Enumeration Documentation
Contains valid receipt types (XEP-0184).
- Enumerator:
Request |
Requests a receipt.
|
Received |
The receipt.
|
Invalid |
Invalid type.
|
Definition at line 38 of file receipt.h.
Constructor & Destructor Documentation
Constructs a new object from the given Tag.
- Parameters
-
Definition at line 31 of file receipt.cpp.
Constructs a new object of the given type.
- Parameters
-
rcpt | The receipt type. |
id | The message ID. |
Definition at line 56 of file receipt.h.
Virtual destructor.
Definition at line 63 of file receipt.h.
Member Function Documentation
const std::string & filterString |
( |
| ) |
const |
|
virtual |
Returns an XPath expression that describes a path to child elements of a stanza that an extension handles.
- Returns
- The extension's filter string.
Implements StanzaExtension.
Definition at line 41 of file receipt.cpp.
Returns the message id for acknowledgement tracking.
- Returns
- The message ID for acknowledgement tracking.
Definition at line 75 of file receipt.h.
Returns a new Instance of the derived type. Usually, for a derived class FooExtension, the implementation of this function looks like:
{
return new FooExtension( tag );
}
- Returns
- The derived extension's new instance.
Implements StanzaExtension.
Definition at line 81 of file receipt.h.
Returns the object's state.
- Returns
- The object's state.
Definition at line 69 of file receipt.h.
The documentation for this class was generated from the following files: