14#include "mucmessagesession.h"
15#include "clientbase.h"
17#include "messagehandler.h"
35 if( m_messageHandler )
36 m_messageHandler->handleMessage( msg );
48 m_thread =
"gloox" + m_parent->getID();
53 m.
setID( m_parent->getID() );
58 StanzaExtensionList::const_iterator it = sel.begin();
59 for( ; it != sel.end(); ++it )
This is the common base class for a Jabber/XMPP Client and a Jabber Component.
A stanza error abstraction implemented as a StanzaExtension.
virtual ~MUCMessageSession()
virtual void send(const std::string &message)
MUCMessageSession(ClientBase *parent, const JID &jid)
virtual void setSubject(const std::string &subject)
virtual void handleMessage(Message &msg)
virtual void send(const std::string &message)
MessageSession(ClientBase *parent, const JID &jid, bool wantUpgrade=true, int types=0, bool honorTID=true)
An abstraction of a message stanza.
void setID(const std::string &id)
void addExtension(const StanzaExtension *se)
The namespace for the gloox library.
std::list< const StanzaExtension * > StanzaExtensionList
const std::string EmptyString