public interface MUCEventListener
MUCEventDispatcher.addListener(MUCEventListener)
method to register for events.| Modifier and Type | Method and Description |
|---|---|
void |
messageReceived(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname,
org.xmpp.packet.Message message)
Event triggered when a room occupant sent a message to a room.
|
void |
nicknameChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String oldNickname,
String newNickname)
Event triggered when an occupant changed his nickname in a room.
|
void |
occupantJoined(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname)
Event triggered when a new occupant joins a room.
|
void |
occupantLeft(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user)
Event triggered when an occupant left a room.
|
void |
privateMessageRecieved(org.xmpp.packet.JID toJID,
org.xmpp.packet.JID fromJID,
org.xmpp.packet.Message message)
Event triggered when a room occupant sent a private message to another room user
|
void |
roomCreated(org.xmpp.packet.JID roomJID)
Event triggered when a new room was created.
|
void |
roomDestroyed(org.xmpp.packet.JID roomJID)
Event triggered when a room was destroyed.
|
void |
roomSubjectChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String newSubject)
Event triggered when the subject of a room is changed.
|
void roomCreated(org.xmpp.packet.JID roomJID)
roomJID - JID of the room that was created.void roomDestroyed(org.xmpp.packet.JID roomJID)
roomJID - JID of the room that was destroyed.void occupantJoined(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname)
roomJID - the JID of the room where the occupant has joined.user - the JID of the user joining the room.nickname - nickname of the user in the room.void occupantLeft(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user)
roomJID - the JID of the room where the occupant has left.user - the JID of the user leaving the room.void nicknameChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String oldNickname,
String newNickname)
roomJID - the JID of the room where the user changed his nickname.user - the JID of the user that changed his nickname.oldNickname - old nickname of the user in the room.newNickname - new nickname of the user in the room.void messageReceived(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname,
org.xmpp.packet.Message message)
roomJID - the JID of the room that received the message.user - the JID of the user that sent the message.nickname - nickname used by the user when sending the message.message - the message sent by the room occupant.void privateMessageRecieved(org.xmpp.packet.JID toJID,
org.xmpp.packet.JID fromJID,
org.xmpp.packet.Message message)
toJID - the JID of who the message is to.fromJID - the JID of who the message came from.message - the message sent to user.void roomSubjectChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String newSubject)
roomJID - the JID of the room that had its subject changed.user - the JID of the user that changed the subject.newSubject - new room subject.Copyright © 2003-2008 Jive Software.