#include <pubsubresulthandler.h>
Public Member Functions | |
| virtual | ~ResultHandler () |
| virtual void | handleItem (const JID &service, const std::string &node, const Tag *entry)=0 |
| virtual void | handleItems (const JID &service, const std::string &node, const TagList *itemList, const Error *error=0)=0 |
| virtual void | handleItemPublication (const JID &service, const std::string &node, const std::string &item, const Error *error=0)=0 |
| virtual void | handleItemDeletation (const JID &service, const std::string &node, const std::string &item, const Error *error=0)=0 |
| virtual void | handleSubscriptionResult (const JID &service, const std::string &node, const std::string &sid, const JID &jid, const SubscriptionType subType, const Error *error=0)=0 |
| virtual void | handleUnsubscriptionResult (const JID &service, const std::string &node, const std::string &sid, const JID &jid, const Error *error=0)=0 |
| virtual void | handleSubscriptionOptions (const JID &service, const JID &jid, const std::string &node, const DataForm *options, const Error *error=0)=0 |
| virtual void | handleSubscriptionOptionsResult (const JID &service, const JID &jid, const std::string &node, const Error *error=0)=0 |
| virtual void | handleSubscribers (const JID &service, const std::string &node, const SubscriberList *list, const Error *error=0)=0 |
| virtual void | handleSubscribersResult (const JID &service, const std::string &node, const SubscriberList *list, const Error *error=0)=0 |
| virtual void | handleAffiliates (const JID &service, const std::string &node, const AffiliateList *list, const Error *error=0)=0 |
| virtual void | handleAffiliatesResult (const JID &service, const std::string &node, const AffiliateList *list, const Error *error=0)=0 |
| virtual void | handleNodeConfig (const JID &service, const std::string &node, const DataForm *config, const Error *error=0)=0 |
| virtual void | handleNodeConfigResult (const JID &service, const std::string &node, const Error *error=0)=0 |
| virtual void | handleNodeCreation (const JID &service, const std::string &node, const Error *error=0)=0 |
| virtual void | handleNodeDeletation (const JID &service, const std::string &node, const Error *error=0)=0 |
| virtual void | handleNodePurge (const JID &service, const std::string &node, const Error *error=0)=0 |
| virtual void | handleSubscriptions (const JID &service, const SubscriptionMap *subMap, const Error *error=0)=0 |
| virtual void | handleAffiliations (const JID &service, const AffiliationMap *affMap, const Error *error=0)=0 |
| virtual void | handleDefaultNodeConfig (const JID &service, const DataForm *config, const Error *error=0)=0 |
Derive from this interface and pass it to item related requests.
As a general rule, methods receive an Error pointer which will be null (when the request was successful) or describe the problem. Request asking for information will have it's "pointer to information" set to null when an error occured (that is they're mutually exclusive). In both cases, gloox takes care of deleting these objects.
Definition at line 50 of file pubsubresulthandler.h.
|
|
Virtual destructor. Definition at line 56 of file pubsubresulthandler.h. |
|
||||||||||||||||||||
|
Receives the affiliate list for a node.
|
|
||||||||||||||||||||
|
Handle the affiliate list for a specific node.
|
|
||||||||||||||||
|
Receives the Affiliation map for a specific service.
|
|
||||||||||||||||
|
Receives the default configuration for a specific node type.
|
|
||||||||||||||||
|
Receives the payload for an item.
|
|
||||||||||||||||||||
|
Receives the result of an item removal.
|
|
||||||||||||||||||||
|
Receives the result for an item publication.
|
|
||||||||||||||||||||
|
Receives the list of Items for a node.
|
|
||||||||||||||||||||
|
Receives the configuration for a specific node.
|
|
||||||||||||||||
|
Receives the result of a node's configuration modification.
|
|
||||||||||||||||
|
Receives the result of a node creation.
|
|
||||||||||||||||
|
Receives the result for a node removal.
|
|
||||||||||||||||
|
Receives the result of a node purge request.
|
|
||||||||||||||||||||
|
Receives the list of subscribers to a node.
|
|
||||||||||||||||||||
|
Receives the result of a subscriber list modification.
|
|
||||||||||||||||||||||||
|
Receives the subscription options for a node.
|
|
||||||||||||||||||||
|
Receives the result for a subscription options modification.
|
|
||||||||||||||||||||||||||||
|
Receives the subscription results. In case a problem occured, the Subscription ID and SubscriptionType becomes irrelevant.
|
|
||||||||||||||||
|
Receives the Subscription list for a specific service.
|
|
||||||||||||||||||||||||
|
Receives the unsubscription results. In case a problem occured, the subscription ID becomes irrelevant.
|
1.4.1