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;
167 virtual void handleSubscriptionOptions(
const std::string&
id,
170 const std::string& node,
172 const Error* error = 0 ) = 0;
185 virtual void handleSubscriptionOptionsResult(
const std::string&
id,
188 const std::string& node,
189 const Error* error = 0 ) = 0;
203 virtual void handleSubscribers(
const std::string&
id,
205 const std::string& node,
206 const SubscriberList* list,
207 const Error* error = 0 ) = 0;
220 virtual void handleSubscribersResult(
const std::string&
id,
222 const std::string& node,
223 const SubscriberList* list,
224 const Error* error = 0 ) = 0;
237 virtual void handleAffiliates(
const std::string&
id,
239 const std::string& node,
240 const AffiliateList* list,
241 const Error* error = 0 ) = 0;
254 virtual void handleAffiliatesResult(
const std::string&
id,
256 const std::string& node,
257 const AffiliateList* list,
258 const Error* error = 0 ) = 0;
272 virtual void handleNodeConfig(
const std::string&
id,
274 const std::string& node,
276 const Error* error = 0 ) = 0;
288 virtual void handleNodeConfigResult(
const std::string&
id,
290 const std::string& node,
291 const Error* error = 0 ) = 0;
303 virtual void handleNodeCreation(
const std::string&
id,
305 const std::string& node,
306 const Error* error = 0 ) = 0;
318 virtual void handleNodeDeletion(
const std::string&
id,
320 const std::string& node,
321 const Error* error = 0 ) = 0;
334 virtual void handleNodePurge(
const std::string&
id,
336 const std::string& node,
337 const Error* error = 0 ) = 0;
349 virtual void handleSubscriptions(
const std::string&
id,
351 const SubscriptionMap& subMap,
352 const Error* error = 0) = 0;
364 virtual void handleAffiliations(
const std::string&
id,
366 const AffiliationMap& affMap,
367 const Error* error = 0 ) = 0;
379 virtual void handleDefaultNodeConfig(
const std::string&
id,
382 const Error* error = 0 ) = 0;
390 #endif // PUBSUBRESULTHANDLER_H__