Public Member Functions | |
SubscriptionManager (StanzaChannel *stanzaChannel) | |
~SubscriptionManager () | |
void | cancelSubscription (const JID &jid) |
void | confirmSubscription (const JID &jid) |
void | requestSubscription (const JID &jid) |
Public Attributes | |
boost::signal< void(const JID &, const std::string &, Presence::ref)> | onPresenceSubscriptionRequest |
This signal is emitted when a presence subscription request is received. | |
boost::signal< void(const JID &, const std::string &)> | onPresenceSubscriptionRevoked |
Definition at line 20 of file SubscriptionManager.h.
Swift::SubscriptionManager::SubscriptionManager | ( | StanzaChannel * | stanzaChannel | ) |
Swift::SubscriptionManager::~SubscriptionManager | ( | ) |
void Swift::SubscriptionManager::cancelSubscription | ( | const JID & | jid | ) |
void Swift::SubscriptionManager::confirmSubscription | ( | const JID & | jid | ) |
void Swift::SubscriptionManager::requestSubscription | ( | const JID & | jid | ) |
boost::signal<void (const JID&, const std::string&, Presence::ref)> Swift::SubscriptionManager::onPresenceSubscriptionRequest |
This signal is emitted when a presence subscription request is received.
The third parameter of this signal is the original presence stanza received. This is useful when the subscriber adds extensions to the request.
Definition at line 37 of file SubscriptionManager.h.
boost::signal<void (const JID&, const std::string&)> Swift::SubscriptionManager::onPresenceSubscriptionRevoked |
Definition at line 39 of file SubscriptionManager.h.