#include <subscription.h>
Inherits Stanza.
Inheritance diagram for Subscription:

Public Types | |
| enum | S10nType { , Subscribed, Unsubscribe, Unsubscribed, Invalid } |
Public Member Functions | |
| Subscription (S10nType type, const JID &to, const std::string &status=EmptyString, const std::string &xmllang=EmptyString) | |
| virtual | ~Subscription () |
| S10nType | subtype () const |
| const std::string | status (const std::string &lang="default") const |
| virtual Tag * | tag () const |
Definition at line 31 of file subscription.h.
|
|
Describes the different valid message types.
Definition at line 41 of file subscription.h. |
|
||||||||||||||||||||
|
Creates a Subscription request.
Definition at line 43 of file subscription.cpp. |
|
|
Destructor. Definition at line 50 of file subscription.cpp. |
|
|
Returns the status text of a presence stanza for the given language if available. If the requested language is not available, the default status text (without a xml:lang attribute) will be returned.
Definition at line 80 of file subscription.h. |
|
|
Returns the subscription stanza's type.
Definition at line 69 of file subscription.h. |
|
|
Creates a Tag representation of the Stanza. The Tag is completely independent of the Stanza and will not be updated when the Stanza is modified. Implements Stanza. Definition at line 55 of file subscription.cpp. |
1.4.1