13 #ifndef PUBSUBRESULTHANDLER_H__
14 #define PUBSUBRESULTHANDLER_H__
64 virtual void handleItem(
const JID& service,
65 const std::string& node,
66 const Tag* entry ) = 0;
79 virtual void handleItems(
const std::string&
id,
81 const std::string& node,
82 const ItemList& itemList,
83 const Error* error = 0 ) = 0;
96 virtual void handleItemPublication(
const std::string&
id,
98 const std::string& node,
99 const ItemList& itemList,
100 const Error* error = 0 ) = 0;
113 virtual void handleItemDeletion(
const std::string&
id,
115 const std::string& node,
116 const ItemList& itemList,
117 const Error* error = 0 ) = 0;
133 virtual void handleSubscriptionResult(
const std::string&
id,
135 const std::string& node,
136 const std::string& sid,
139 const Error* error = 0 ) = 0;
151 virtual void handleUnsubscriptionResult(
const std::string&
id,
153 const Error* error = 0 ) = 0;
168 virtual void handleSubscriptionOptions(
const std::string&
id,
171 const std::string& node,
174 const Error* error = 0 ) = 0;
188 virtual void handleSubscriptionOptionsResult(
const std::string&
id,
191 const std::string& node,
193 const Error* error = 0 ) = 0;
207 virtual void handleSubscribers(
const std::string&
id,
209 const std::string& node,
210 const SubscriptionList& list,
211 const Error* error = 0 ) = 0;
224 virtual void handleSubscribersResult(
const std::string&
id,
226 const std::string& node,
227 const SubscriberList* list,
228 const Error* error = 0 ) = 0;
241 virtual void handleAffiliates(
const std::string&
id,
243 const std::string& node,
244 const AffiliateList* list,
245 const Error* error = 0 ) = 0;
258 virtual void handleAffiliatesResult(
const std::string&
id,
260 const std::string& node,
261 const AffiliateList* list,
262 const Error* error = 0 ) = 0;
276 virtual void handleNodeConfig(
const std::string&
id,
278 const std::string& node,
280 const Error* error = 0 ) = 0;
292 virtual void handleNodeConfigResult(
const std::string&
id,
294 const std::string& node,
295 const Error* error = 0 ) = 0;
307 virtual void handleNodeCreation(
const std::string&
id,
309 const std::string& node,
310 const Error* error = 0 ) = 0;
322 virtual void handleNodeDeletion(
const std::string&
id,
324 const std::string& node,
325 const Error* error = 0 ) = 0;
338 virtual void handleNodePurge(
const std::string&
id,
340 const std::string& node,
341 const Error* error = 0 ) = 0;
353 virtual void handleSubscriptions(
const std::string&
id,
355 const SubscriptionMap& subMap,
356 const Error* error = 0) = 0;
368 virtual void handleAffiliations(
const std::string&
id,
370 const AffiliationMap& affMap,
371 const Error* error = 0 ) = 0;
383 virtual void handleDefaultNodeConfig(
const std::string&
id,
386 const Error* error = 0 ) = 0;
394 #endif // PUBSUBRESULTHANDLER_H__
A stanza error abstraction implemented as a StanzaExtension.
The namespace for the gloox library.
A virtual interface to receive item related requests results.
const std::string EmptyString
This is an abstraction of an XML element.