gloox 1.0
|
Implementation of this virtual interface allows for retrieval of offline messages following XEP-0030. More...
#include <flexoffhandler.h>
Public Member Functions | |
virtual | ~FlexibleOfflineHandler () |
virtual void | handleFlexibleOfflineSupport (bool support)=0 |
virtual void | handleFlexibleOfflineMsgNum (int num)=0 |
virtual void | handleFlexibleOfflineMessageHeaders (const Disco::ItemList &headers)=0 |
virtual void | handleFlexibleOfflineResult (FlexibleOfflineResult foResult)=0 |
Implementation of this virtual interface allows for retrieval of offline messages following XEP-0030.
Definition at line 43 of file flexoffhandler.h.
virtual ~FlexibleOfflineHandler | ( | ) | [inline, virtual] |
Virtual Destructor.
Definition at line 49 of file flexoffhandler.h.
virtual void handleFlexibleOfflineMessageHeaders | ( | const Disco::ItemList & | headers | ) | [pure virtual] |
This function is called when the offline message headers arrive. Call FlexibleOffline::fetchHeaders() to trigger the check.
headers | A map of ID/sender pairs describing the offline messages. |
virtual void handleFlexibleOfflineMsgNum | ( | int | num | ) | [pure virtual] |
This function is called to announce the number of available offline messages. Call FlexibleOffline::getMsgCount() to trigger the check.
num | The number of stored offline messages. |
virtual void handleFlexibleOfflineResult | ( | FlexibleOfflineResult | foResult | ) | [pure virtual] |
This function is called to indicate the result of a fetch or delete instruction.
foResult | The result of the operation. |
virtual void handleFlexibleOfflineSupport | ( | bool | support | ) | [pure virtual] |
This function is called to indicate whether the server supports XEP-0013 or not. Call FlexibleOffline::checkSupport() to trigger the check.
support | Whether the server support XEP-0013 or not. |