#include <adhochandler.h>
Public Member Functions | |
| virtual | ~AdhocHandler () |
| virtual void | handleAdhocSupport (const JID &remote, bool support)=0 |
| virtual void | handleAdhocCommands (const JID &remote, const StringMap &commands)=0 |
| virtual void | handleAdhocError (const JID &remote, StanzaError error)=0 |
| virtual void | handleAdhocExecutionResult (const JID &remote, const std::string &command, Adhoc::AdhocCommandStatus status, const std::string &sessionid, const DataForm &form, int actions, Adhoc::AdhocExecuteActions defaultAction, const std::string ¬e, Adhoc::AdhocNoteType type)=0 |
Derived classes can be registered with the Adhoc object to receive notifications about Adhoc Commands remote entities support.
Definition at line 35 of file adhochandler.h.
|
|
Virtual destructor. Definition at line 41 of file adhochandler.h. |
|
||||||||||||
|
This function is called in response to a call to Adhoc::getCommands() and delivers a list of supported commands.
|
|
||||||||||||
|
This function is called in response to a call to Adhoc::getCommands() or Adhoc::checkSupport() in case the respective request returned an error.
|
|
||||||||||||||||||||||||||||||||||||||||
|
This function is called in response to a remote command execution.
|
|
||||||||||||
|
This function is called in response to a call to Adhoc::checkSupport(). |
1.4.1