A virtual interface that enables objects to receive Service Discovery (XEP-0030) events. More...
#include <discohandler.h>
Inherited by Adhoc, FlexibleOffline, and MUCRoom [private].
Public Member Functions | |
| virtual | ~DiscoHandler () |
| virtual void | handleDiscoInfoResult (Stanza *stanza, int context)=0 |
| virtual void | handleDiscoItemsResult (Stanza *stanza, int context)=0 |
| virtual void | handleDiscoError (Stanza *stanza, int context)=0 |
| virtual bool | handleDiscoSet (Stanza *stanza) |
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 31 of file discohandler.h.
| virtual ~DiscoHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 37 of file discohandler.h.
| virtual void handleDiscoError | ( | Stanza * | stanza, | |
| int | context | |||
| ) | [pure virtual] |
Reimplement this function to receive disco error notifications.
| stanza | The full Stanza. | |
| context | A context identifier. |
Implemented in Adhoc, FlexibleOffline, and MUCRoom.
| virtual void handleDiscoInfoResult | ( | Stanza * | stanza, | |
| int | context | |||
| ) | [pure virtual] |
Reimplement this function if you want to be notified about the result of an disco::info query.
| stanza | The full Stanza. | |
| context | A context identifier. |
Implemented in Adhoc, FlexibleOffline, and MUCRoom.
| virtual void handleDiscoItemsResult | ( | Stanza * | stanza, | |
| int | context | |||
| ) | [pure virtual] |
Reimplement this function if you want to be notified about the result of an disco::items query.
| stanza | The full Stanza. | |
| context | A context identifier. |
Implemented in Adhoc, FlexibleOffline, and MUCRoom.
| virtual bool handleDiscoSet | ( | Stanza * | stanza | ) | [inline, virtual] |
Reimplement this function to receive notifications about incoming IQ stanzas of type 'set' in the disco namespace.
| stanza | The full Stanza. |
Definition at line 72 of file discohandler.h.
1.6.1