#include <discohandler.h>
Detailed Description
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.
- Author
- Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Definition at line 31 of file discohandler.h.
Constructor & Destructor Documentation
Member Function Documentation
virtual void handleDiscoError |
( |
Stanza * |
stanza, |
|
|
int |
context |
|
) |
| |
|
pure virtual |
Reimplement this function to receive disco error notifications.
- Parameters
-
stanza | The full Stanza. |
context | A context identifier. |
- Todo:
- Replace the stanza with decoded values.
Implemented in Adhoc, and FlexibleOffline.
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.
- Parameters
-
stanza | The full Stanza. |
context | A context identifier. |
- Todo:
- Replace the stanza with decoded values.
Implemented in Adhoc, and FlexibleOffline.
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.
- Parameters
-
stanza | The full Stanza. |
context | A context identifier. |
- Todo:
- Replace the stanza with decoded values.
Implemented in Adhoc, and FlexibleOffline.
virtual bool handleDiscoSet |
( |
Stanza * |
stanza | ) |
|
|
inlinevirtual |
Reimplement this function to receive notifications about incoming IQ stanzas of type 'set' in the disco namespace.
- Parameters
-
- Returns
- Returns true if the stanza was handled and answered, false otherwise.
- Todo:
- Replace the stanza with decoded values.
Definition at line 72 of file discohandler.h.
The documentation for this class was generated from the following file: