gloox
0.9.9.12
|
#include <instantmucroom.h>
Public Member Functions | |
InstantMUCRoom (ClientBase *parent, const JID &nick, MUCRoomHandler *mrh) | |
virtual | ~InstantMUCRoom () |
Public Member Functions inherited from MUCRoom | |
MUCRoom (ClientBase *parent, const JID &nick, MUCRoomHandler *mrh, MUCRoomConfigHandler *mrch=0) | |
virtual | ~MUCRoom () |
void | setPassword (const std::string &password) |
const std::string | name () const |
const std::string | service () const |
const std::string | nick () const |
virtual void | join () |
void | leave (const std::string &msg="") |
void | send (const std::string &message) |
void | setSubject (const std::string &subject) |
MUCRoomAffiliation | affiliation () const |
MUCRoomRole | role () const |
void | setNick (const std::string &nick) |
void | setPresence (Presence presence, const std::string &msg="") |
void | invite (const JID &invitee, const std::string &reason, bool cont=false) |
void | getRoomInfo () |
void | getRoomItems () |
void | setPublish (bool publish, bool publishNick) |
void | registerMUCRoomHandler (MUCRoomHandler *mrl) |
void | removeMUCRoomHandler () |
void | registerMUCRoomConfigHandler (MUCRoomConfigHandler *mrch) |
void | removeMUCRoomConfigHandler () |
void | addHistory (const std::string &message, const JID &from, const std::string &stamp) |
void | setRequestHistory (int value, HistoryRequestType type) |
void | setRequestHistory (const std::string &since) |
void | requestVoice () |
void | kick (const std::string &nick, const std::string &reason="") |
void | ban (const std::string &nick, const std::string &reason) |
void | grantVoice (const std::string &nick, const std::string &reason) |
void | revokeVoice (const std::string &nick, const std::string &reason) |
void | setRole (const std::string &nick, MUCRoomRole role, const std::string &reason="") |
void | setAffiliation (const std::string &nick, MUCRoomAffiliation affiliation, const std::string &reason) |
void | requestRoomConfig () |
void | setRoomConfig (DataForm *form) |
void | acknowledgeInstantRoom () |
void | cancelRoomCreation () |
void | destroy (const std::string &reason="", const JID *alternate=0, const std::string &password="") |
void | requestList (MUCOperation operation) |
void | storeList (const MUCListItemList items, MUCOperation operation) |
int | flags () const |
Public Member Functions inherited from IqHandler | |
virtual | ~IqHandler () |
virtual bool | handleIq (Stanza *stanza)=0 |
virtual bool | handleIqID (Stanza *stanza, int context)=0 |
Additional Inherited Members | |
Public Types inherited from MUCRoom | |
enum | HistoryRequestType { HistoryUnknown, HistoryMaxChars, HistoryMaxStanzas, HistorySeconds, HistorySince } |
Static Public Member Functions inherited from MUCRoom | |
static Stanza * | declineInvitation (const JID &room, const JID &invitor, const std::string &reason="") |
static Stanza * | createDataForm (const JID &room, const DataForm &df) |
This class implements an instant MUC room.
XEP version: 1.21
Definition at line 30 of file instantmucroom.h.
InstantMUCRoom | ( | ClientBase * | parent, |
const JID & | nick, | ||
MUCRoomHandler * | mrh | ||
) |
Creates a new abstraction of a unique Multi-User Chat room. The room is not joined automatically. Use join() to join the room, use leave() to leave it. See MUCRoom for detailed info.
parent | The ClientBase object to use for the communication. |
nick | The room's name and service plus the desired nickname in the form room@service/nick. |
mrh | The MUCRoomHandler that will listen to room events. May be 0 and may be specified later using registerMUCRoomHandler(). However, without one, MUC is no joy. |
Definition at line 22 of file instantmucroom.cpp.
|
virtual |
Virtual Destructor.
Definition at line 27 of file instantmucroom.cpp.