#include <lastactivityhandler.h>
Public Member Functions | |
virtual | ~LastActivityHandler () |
virtual void | handleLastActivityResult (const JID &jid, int seconds)=0 |
virtual void | handleLastActivityError (const JID &jid, StanzaError error)=0 |
Definition at line 27 of file lastactivityhandler.h.
virtual ~LastActivityHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 33 of file lastactivityhandler.h.
virtual void handleLastActivityResult | ( | const JID & | jid, | |
int | seconds | |||
) | [pure virtual] |
This function is called when a positive result of a query arrives.
jid | The JID of the queried contact. | |
seconds | The idle time or time of last presence of the contact. (Depends on the JID, check the spec.) |
Referenced by LastActivity::handleIqID().
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. |
Referenced by LastActivity::handleIqID().