17 #include "clientbase.h"
18 #include "discohandler.h"
19 #include "flexoffhandler.h"
20 #include "iqhandler.h"
21 #include "stanzaextension.h"
75 { messageOperation( FORequestMsgs, msgs ); }
84 { messageOperation( FORemoveMsgs, msgs ); }
96 void removeFlexibleOfflineHandler();
99 virtual void handleDiscoInfo(
const JID& from,
const Disco::Info& info,
int context );
102 virtual void handleDiscoItems(
const JID& from,
const Disco::Items& items,
int context );
105 virtual void handleDiscoError(
const JID& from,
const Error* error,
int context );
108 virtual bool handleIq(
const IQ& iq ) { (void)iq;
return false; }
111 virtual void handleIqID(
const IQ& iq,
int context );
124 Offline(
const Tag* tag = 0 );
131 Offline(
int context,
const StringList& msgs );
139 virtual const std::string& filterString()
const;
144 return new Offline( tag );
148 virtual Tag* tag()
const;
151 virtual StanzaExtension* clone()
const
153 return new Offline( *
this );
161 void messageOperation(
int context,
const StringList& msgs );
172 ClientBase* m_parent;
173 FlexibleOfflineHandler* m_flexibleOfflineHandler;
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
A virtual interface that enables objects to receive Service Discovery (XEP-0030) events.
An abstraction of a Disco Info element (from Service Discovery, XEP-0030) as a StanzaExtension.
An abstraction of a Disco query element (from Service Discovery, XEP-0030) in the disco::items namesp...
A stanza error abstraction implemented as a StanzaExtension.
Implementation of this virtual interface allows for retrieval of offline messages following XEP-0030.
An implementation of XEP-0013 (Flexible Offline Message Retrieval).
virtual bool handleIq(const IQ &iq)
void removeMessages(const StringList &msgs)
void fetchMessages(const StringList &msgs)
An abstraction of an IQ stanza.
A virtual interface which can be reimplemented to receive IQ stanzas.
This class abstracts a stanza extension, which is usually an XML child element in a specific namespac...
This is an abstraction of an XML element.
The namespace for the gloox library.
std::list< std::string > StringList