|
gloox
1.0.1
|
#include <disconodehandler.h>

Public Member Functions | |
| virtual | ~DiscoNodeHandler () |
| virtual StringList | handleDiscoNodeFeatures (const JID &from, const std::string &node)=0 |
| virtual Disco::IdentityList | handleDiscoNodeIdentities (const JID &from, const std::string &node)=0 |
| virtual Disco::ItemList | handleDiscoNodeItems (const JID &from, const JID &to, const std::string &node=EmptyString)=0 |
Derived classes can be registered as NodeHandlers for certain nodes with the Disco object.
Incoming disco::info and disco::items queries are delegated to their respective handlers.
Definition at line 35 of file disconodehandler.h.
|
inlinevirtual |
Virtual Destructor.
Definition at line 41 of file disconodehandler.h.
|
pure virtual |
In addition to handleDiscoNodeIdentities, this function is used to gather more information on a specific node. It is called when a disco::info query arrives with a node attribute that matches the one registered for this handler.
| from | The sender of the request. |
| node | The node this handler is supposed to handle. |
Implemented in Adhoc, and Capabilities.
|
pure virtual |
In addition to handleDiscoNodeFeatures, this function is used to gather more information on a specific node. It is called when a disco::info query arrives with a node attribute that matches the one registered for this handler.
| from | The sender of the request. |
| node | The node this handler is supposed to handle. |
Implemented in Adhoc, and Capabilities.
|
pure virtual |
This function is used to gather more information on a specific node. It is called when a disco::items query arrives with a node attribute that matches the one registered for this handler. If node is empty, items for the root node (no node) shall be returned.
| from | The sender of the request. |
| to | The receiving JID (useful for transports). |
| node | The node this handler is supposed to handle. |
Implemented in Adhoc, and Capabilities.
1.8.1.2