Method Summary |
|
public void | addListener(MUCEventListener listener) |
public void | addSysadmin(String userJID) |
public void | addUserAllowedToCreate(String userJID) |
public void | chatRoomAdded(LocalMUCRoom room) Notification message indicating that a chat room has been created
in another cluster member. |
public void | chatRoomRemoved(String roomName) Notification message indicating that the specified chat room was
removed from some other cluster member. |
public void | enableService(boolean enabled, boolean persistent) |
void | fireMessageReceived(JID roomJID, JID user, String nickname, Message message) |
void | fireNicknameChanged(JID roomJID, JID user, String oldNickname, String newNickname) |
void | fireOccupantJoined(JID roomJID, JID user, String nickname) |
void | fireOccupantLeft(JID roomJID, JID user) |
void | fireRoomDestroyed(JID roomJID) |
public JID | getAddress() |
public MUCRoom | getChatRoom(String roomName, JID userjid) |
public MUCRoom | getChatRoom(String roomName) |
public List<MUCRoom> | getChatRooms() |
public String | getDescription() |
public XDataFormImpl | getExtendedInfo(String name, String node, JID senderJID) |
public Iterator<String> | getFeatures(String name, String node, JID senderJID) |
public HistoryStrategy | getHistoryStrategy() |
public Iterator<Element> | getIdentities(String name, String node, JID senderJID) |
public Iterator<DiscoServerItem> | getItems() |
public Iterator<DiscoItem> | getItems(String name, String node, JID senderJID) |
public int | getKickIdleUsersTimeout() |
public int | getLogConversationBatchSize() |
public int | getLogConversationsTimeout() |
public Collection<MUCRole> | getMUCRoles(JID user) |
public int | getNumberChatRooms() Retuns the number of existing rooms in the server (i.e. |
public int | getNumberConnectedUsers(boolean onlyLocal) Retuns the total number of occupants in all rooms in the server.
Parameters: onlyLocal - true if only users connected to this JVM will be considered. |
public int | getNumberRoomOccupants() Retuns the total number of users that have joined in all rooms in the server. |
public String | getServiceDomain() |
public String | getServiceName() |
public Collection<String> | getSysadmins() |
public long | getTotalChatTime() |
public int | getUserIdleTime() |
public Collection<String> | getUsersAllowedToCreate() |
public boolean | hasChatRoom(String roomName) |
public boolean | hasInfo(String name, String node, JID senderJID) |
public void | initialize(JID jid, ComponentManager componentManager) |
public void | initialize(XMPPServer server) |
public boolean | isAllowToDiscoverLockedRooms() Returns the flag that indicates if the service should provide information about locked rooms
when handling service discovery requests. |
public boolean | isRoomCreationRestricted() |
public boolean | isServiceEnabled() |
public void | joinedCluster() |
public void | joinedCluster(byte[] nodeID) |
public void | leftCluster() |
public void | leftCluster(byte[] nodeID) |
public void | logConversation(MUCRoom room, Message message, JID sender) |
public void | markedAsSeniorClusterMember() |
public void | messageBroadcastedTo(int numOccupants) |
public void | process(Packet packet) |
public void | processPacket(Packet packet) |
public void | removeChatRoom(String roomName) |
public void | removeListener(MUCEventListener listener) |
public void | removeSysadmin(String userJID) |
public void | removeUserAllowedToCreate(String userJID) |
public void | setAllowToDiscoverLockedRooms(boolean allowToDiscoverLockedRooms) Sets the flag that indicates if the service should provide information about locked rooms
when handling service discovery requests.
Note: Setting this flag in false is not compliant with the spec. |
public void | setKickIdleUsersTimeout(int timeout) |
public void | setLogConversationBatchSize(int size) |
public void | setLogConversationsTimeout(int timeout) |
public void | setRoomCreationRestricted(boolean roomCreationRestricted) |
public void | setServiceName(String name) |
public void | setUserIdleTime(int idleTime) |
public void | shutdown() |
public void | start() |
public void | stop() |