#include <mucroomhandler.h>
Public Member Functions | |
| virtual | ~MUCRoomHandler () |
| virtual void | handleMUCParticipantPresence (MUCRoom *room, const MUCRoomParticipant participant, Presence presence)=0 |
| virtual void | handleMUCMessage (MUCRoom *room, const std::string &nick, const std::string &message, bool history, const std::string &when, bool privateMessage)=0 |
| virtual bool | handleMUCRoomCreation (MUCRoom *room)=0 |
| virtual void | handleMUCSubject (MUCRoom *room, const std::string &nick, const std::string &subject)=0 |
| virtual void | handleMUCInviteDecline (MUCRoom *room, const JID &invitee, const std::string &reason)=0 |
| virtual void | handleMUCError (MUCRoom *room, StanzaError error)=0 |
| virtual void | handleMUCInfo (MUCRoom *room, int features, const std::string &name, const DataForm *infoForm)=0 |
| virtual void | handleMUCItems (MUCRoom *room, const StringMap &items)=0 |
See MUCRoom for examples how to use this interface.
Definition at line 87 of file mucroomhandler.h.
|
|
Virtual Destructor. Definition at line 93 of file mucroomhandler.h. |
|
||||||||||||
|
This function is called when an error occurs in the room or when entering the room.
|
|
||||||||||||||||||||
|
This function usually (see below) is called in response to a call to MUCRoom::getRoomInfo().
|
|
||||||||||||||||
|
This function is called when the user invited somebody (e.g., by using MUCRoom::invite()) to the room, but the invitation was declined by that person.
|
|
||||||||||||
|
This function is called in response to a call to MUCRoom::getRoomItems().
|
|
||||||||||||||||||||||||||||
|
This function is called when a message arrives through the room.
|
|
||||||||||||||||
|
This function is called whenever a room occupant enters the room, changes presence inside the room, or leaves the room.
|
|
|
This function is called if the room that was just joined didn't exist prior to the attempted join. Therfore the room was created by MUC service. To accept the default configuration of the room assigned by the MUC service, return true from this function. The room will be opened by the MUC service and available for other users to join. If you don't want to accept the default room configuration, return false from this function. The room will stay locked until it is either fully configured, created as an instant room, or creation is canceled. If you returned false from this function you should use one of the following options:
|
|
||||||||||||||||
|
This function is called when the room subject has been changed.
|
1.4.1