gloox
1.0
|
#include <discohandler.h>
Public Member Functions | |
virtual | ~DiscoHandler () |
virtual void | handleDiscoInfo (const JID &from, const Disco::Info &info, int context)=0 |
virtual void | handleDiscoItems (const JID &from, const Disco::Items &items, int context)=0 |
virtual void | handleDiscoError (const JID &from, const Error *error, int context)=0 |
virtual bool | handleDiscoSet (const IQ &iq) |
A virtual interface that enables objects to receive Service Discovery (XEP-0030) events.
A class implementing this interface can receive the results of sent disco queries.
Definition at line 34 of file discohandler.h.
|
inlinevirtual |
Virtual Destructor.
Definition at line 40 of file discohandler.h.
Reimplement this function to receive disco error notifications.
from | The sender of the error result. |
error | The Error. May be 0. |
context | A context identifier. |
Implemented in Adhoc, and FlexibleOffline.
|
pure virtual |
Reimplement this function if you want to be notified about the result of an disco::info query.
from | The sender of the disco::info result. |
info | The Info. |
context | A context identifier. |
Implemented in Adhoc, and FlexibleOffline.
|
pure virtual |
Reimplement this function if you want to be notified about the result of a disco::items query.
from | The sender of the disco::items result. |
items | The Items. |
context | A context identifier. |
Implemented in Adhoc, and FlexibleOffline.
|
inlinevirtual |
Reimplement this function to receive notifications about incoming IQ stanzas of type 'set' in the disco namespace.
iq | The full IQ. |
Definition at line 77 of file discohandler.h.