This is an virtual interface that, once reimplemented, allows to receive the results of Last-Activity-queries to other entities. More...
#include <lastactivityhandler.h>
Public Member Functions | |
virtual | ~LastActivityHandler () |
virtual void | handleLastActivityResult (const JID &jid, long seconds, const std::string &status)=0 |
virtual void | handleLastActivityError (const JID &jid, StanzaError error)=0 |
This is an virtual interface that, once reimplemented, allows to receive the results of Last-Activity-queries to other entities.
Definition at line 30 of file lastactivityhandler.h.
virtual ~LastActivityHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 36 of file lastactivityhandler.h.
virtual void handleLastActivityError | ( | const JID & | jid, | |
StanzaError | error | |||
) | [pure virtual] |
This function is called when an error is returned by the queried antity.
jid | The queried entity's address. | |
error | The reported error. |
virtual void handleLastActivityResult | ( | const JID & | jid, | |
long | seconds, | |||
const std::string & | status | |||
) | [pure virtual] |
This function is called when a positive result of a query arrives.