public class ClearspaceMUCEventDelegate extends MUCEventDelegate
MUCEventDelegate.InvitationResult| Constructor and Description |
|---|
ClearspaceMUCEventDelegate() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
destroyingRoom(String roomName,
org.xmpp.packet.JID userjid)
This event will be triggered when an entity attempts to destroy a room.
|
Map<String,String> |
getRoomConfig(String roomName)
Returns a map containing room configuration variables and values.
|
boolean |
joiningRoom(MUCRoom room,
org.xmpp.packet.JID userjid)
Returns true if the user is allowed to join the room.
|
MUCEventDelegate.InvitationResult |
sendingInvitation(MUCRoom room,
org.xmpp.packet.JID invitee,
org.xmpp.packet.JID inviter,
String reason)
This event will be triggered when an entity attempts to invite someone to a room.
|
boolean |
shouldRecreate(String roomName,
org.xmpp.packet.JID userjid)
Returns true if the room that is not present in the server should have existed and needs
to be recreated.
|
loadConfigpublic MUCEventDelegate.InvitationResult sendingInvitation(MUCRoom room, org.xmpp.packet.JID invitee, org.xmpp.packet.JID inviter, String reason)
MUCEventDelegatesendingInvitation in class MUCEventDelegateroom - the MUC room.invitee - the JID of the user the invitation will be sent to.inviter - the JID of the user that is sending the invitationreason - the (optional) message that is sent explaining the invitationpublic boolean joiningRoom(MUCRoom room, org.xmpp.packet.JID userjid)
joiningRoom in class MUCEventDelegateroom - the room the user is attempting to join.userjid - the JID of the user attempting to join the room.public boolean shouldRecreate(String roomName, org.xmpp.packet.JID userjid)
MUCEventDelegateshouldRecreate in class MUCEventDelegateroomName - name of the room.userjid - JID Of the user trying to join/create the room.public Map<String,String> getRoomConfig(String roomName)
MUCEventDelegategetRoomConfig in class MUCEventDelegateroomName - the name of the room the configuration map is associated with.public boolean destroyingRoom(String roomName, org.xmpp.packet.JID userjid)
Returns true if the user is allowed to destroy the room.
destroyingRoom in class MUCEventDelegateroomName - the name of the MUC room being destroyed.userjid - the JID of the user attempting to destroy the room.Copyright © 2003-2008 Jive Software.