gloox  1.0
Public Member Functions | Protected Member Functions
InstantMUCRoom Class Reference

#include <instantmucroom.h>

Inheritance diagram for InstantMUCRoom:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 InstantMUCRoom (ClientBase *parent, const JID &nick, MUCRoomHandler *mrh)
virtual ~InstantMUCRoom ()

Protected Member Functions

virtual bool instantRoomHook () const

Detailed Description

This class implements an instant MUC room.

XEP version: 1.21

Author:
Jakob Schroeter <js@camaya.net>
Since:
0.9

Definition at line 30 of file instantmucroom.h.


Constructor & Destructor Documentation

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.

Parameters:
parentThe ClientBase object to use for the communication.
nickThe room's name and service plus the desired nickname in the form room@service/nick.
mrhThe MUCRoomHandler that will listen to room events. May be 0 and may be specified later using registerMUCRoomHandler(). However, without one, MUC is no joy.
Note:
To subsequently configure the room, use MUCRoom::registerMUCRoomConfigHandler().

Definition at line 22 of file instantmucroom.cpp.

~InstantMUCRoom ( ) [virtual]

Virtual Destructor.

Definition at line 27 of file instantmucroom.cpp.


Member Function Documentation

virtual bool instantRoomHook ( ) const [inline, protected, virtual]

Acknowledges instant room creation w/o a call to the MUCRoomConfigHandler.

Returns:
Whether an instant room is being created.

Reimplemented from MUCRoom.

Definition at line 54 of file instantmucroom.h.


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