Public Member Functions | List of all members
MUCMessageSession Class Reference

#include <mucmessagesession.h>

Inheritance diagram for MUCMessageSession:
Inheritance graph
Collaboration diagram for MUCMessageSession:
Collaboration graph

Public Member Functions

 MUCMessageSession (ClientBase *parent, const JID &jid)
virtual ~MUCMessageSession ()
virtual void send (const std::string &message)
virtual void setSubject (const std::string &subject)
- Public Member Functions inherited from MessageSession
 MessageSession (ClientBase *parent, const JID &jid, bool wantUpgrade=true, int types=0)
virtual ~MessageSession ()
const JIDtarget () const
const std::string & threadID () const
void setThreadID (const std::string &thread)
void registerMessageHandler (MessageHandler *mh)
void removeMessageHandler ()
virtual void send (const std::string &message, const std::string &subject="")
void registerMessageFilter (MessageFilter *mf)
void removeMessageFilter (MessageFilter *mf)
void disposeMessageFilter (MessageFilter *mf)
int types () const
void resetResource ()

Additional Inherited Members

- Protected Member Functions inherited from MessageSession
virtual void send (Tag *tag)

Detailed Description

This is a MessageSession, adapted to be used in a MUC context.

This class is used internally by MUCRoom. You should not need to use it directly.

Jakob Schroeter

Definition at line 32 of file mucmessagesession.h.

Constructor & Destructor Documentation

MUCMessageSession ( ClientBase parent,
const JID jid 

Creates a new MUCMessageSession.

parentThe ClientBase to use for communication.
jidThe bare JID of the MUC room.

Definition at line 22 of file mucmessagesession.cpp.

~MUCMessageSession ( )

Virtual Destructor.

Definition at line 28 of file mucmessagesession.cpp.

Member Function Documentation

void send ( const std::string &  message)

Use this function to send a message to all room occupants.

messageThe message to send.

Definition at line 38 of file mucmessagesession.cpp.

void setSubject ( const std::string &  subject)

Use this function to set a new room subject.

subjectThe new room subject.

Definition at line 52 of file mucmessagesession.cpp.

The documentation for this class was generated from the following files: