public class MUCEventDispatcher extends Object
addListener(MUCEventListener)
and removeListener(MUCEventListener)
to add or remove MUCEventListener
.Constructor and Description |
---|
MUCEventDispatcher() |
Modifier and Type | Method and Description |
---|---|
static void |
addListener(MUCEventListener listener) |
static void |
messageReceived(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname,
org.xmpp.packet.Message message) |
static void |
nicknameChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String oldNickname,
String newNickname) |
static void |
occupantJoined(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String nickname) |
static void |
occupantLeft(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user) |
static void |
privateMessageRecieved(org.xmpp.packet.JID toJID,
org.xmpp.packet.JID fromJID,
org.xmpp.packet.Message message) |
static void |
removeListener(MUCEventListener listener) |
static void |
roomCreated(org.xmpp.packet.JID roomJID) |
static void |
roomDestroyed(org.xmpp.packet.JID roomJID) |
static void |
roomSubjectChanged(org.xmpp.packet.JID roomJID,
org.xmpp.packet.JID user,
String newSubject) |
public static void addListener(MUCEventListener listener)
public static void removeListener(MUCEventListener listener)
public static void occupantJoined(org.xmpp.packet.JID roomJID, org.xmpp.packet.JID user, String nickname)
public static void occupantLeft(org.xmpp.packet.JID roomJID, org.xmpp.packet.JID user)
public static void nicknameChanged(org.xmpp.packet.JID roomJID, org.xmpp.packet.JID user, String oldNickname, String newNickname)
public static void messageReceived(org.xmpp.packet.JID roomJID, org.xmpp.packet.JID user, String nickname, org.xmpp.packet.Message message)
public static void privateMessageRecieved(org.xmpp.packet.JID toJID, org.xmpp.packet.JID fromJID, org.xmpp.packet.Message message)
public static void roomCreated(org.xmpp.packet.JID roomJID)
public static void roomDestroyed(org.xmpp.packet.JID roomJID)
public static void roomSubjectChanged(org.xmpp.packet.JID roomJID, org.xmpp.packet.JID user, String newSubject)
Copyright © 2003–2019 Ignite Realtime. All rights reserved.