Uses of Class
org.jivesoftware.openfire.muc.MUCRoom
-
Packages that use MUCRoom Package Description org.jivesoftware.openfire.muc Implementation of Multi-User Chat (XEP-0045).org.jivesoftware.openfire.muc.spi Implementation of Multi-User Chat (XEP-0045).org.jivesoftware.util.cache -
-
Uses of MUCRoom in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return MUCRoom Modifier and Type Method Description protected MUCRoom
MUCRole. getChatRoom()
Obtain the chat room that hosts this user's role.MUCRoom
MultiUserChatService. getChatRoom(String roomName)
Obtains a chatroom by name.MUCRoom
MultiUserChatService. getChatRoom(String roomName, org.xmpp.packet.JID userjid)
Obtains a chatroom by name.protected MUCRoom
MUCRoomHistory. getRoom()
Returns the room for which this instance is operating.Methods in org.jivesoftware.openfire.muc that return types with arguments of type MUCRoom Modifier and Type Method Description List<MUCRoom>
MultiUserChatService. getActiveChatRooms()
Returns a list with a snapshot of all the rooms in the server that are actively loaded in memory.Methods in org.jivesoftware.openfire.muc with parameters of type MUCRoom Modifier and Type Method Description boolean
MultiUserChatService. canDiscoverRoom(MUCRoom room, org.xmpp.packet.JID entity)
Checks if the a particular entity is allowed to discover the room's existence.static MUCRole
MUCRole. createRoomRole(MUCRoom room)
An empty role that represents the room itself in the chatroom.abstract boolean
MUCEventDelegate. joiningRoom(MUCRoom room, org.xmpp.packet.JID userjid)
This event will be triggered when an entity joins an existing room.boolean
MUCEventDelegate. loadConfig(MUCRoom room)
Loads a delegate provided room configuration for the room specified.void
MultiUserChatService. logConversation(MUCRoom room, org.xmpp.packet.Message message, org.xmpp.packet.JID sender)
Logs that a given message was sent to a room as part of a conversation.abstract MUCEventDelegate.InvitationResult
MUCEventDelegate. sendingInvitation(MUCRoom room, org.xmpp.packet.JID inviteeJID, org.xmpp.packet.JID inviterJID, String inviteMessage)
This event will be triggered when an entity attempts to invite someone to a room.abstract MUCEventDelegate.InvitationRejectionResult
MUCEventDelegate. sendingInvitationRejection(MUCRoom room, org.xmpp.packet.JID to, org.xmpp.packet.JID from, String reason)
This event will be triggered when an entity reject invite from someone to a room.void
MultiUserChatService. syncChatRoom(MUCRoom room)
Makes available the current state of the provided MUCRoom instance to all nodes in the Openfire cluster (if the local server is part of such a cluster).void
MUCRoom. updateConfiguration(MUCRoom otherRoom)
Constructors in org.jivesoftware.openfire.muc with parameters of type MUCRoom Constructor Description MUCRole(MUCRoom chatroom, String nickname, MUCRole.Role role, MUCRole.Affiliation affiliation, org.xmpp.packet.JID userJid, org.xmpp.packet.Presence presence)
Create a new role.MUCRoomHistory(MUCRoom room, HistoryStrategy historyStrategy)
-
Uses of MUCRoom in org.jivesoftware.openfire.muc.spi
Methods in org.jivesoftware.openfire.muc.spi that return MUCRoom Modifier and Type Method Description MUCRoom
MultiUserChatServiceImpl. getChatRoom(String roomName)
MUCRoom
MultiUserChatServiceImpl. getChatRoom(String roomName, org.xmpp.packet.JID userjid)
Methods in org.jivesoftware.openfire.muc.spi that return types with arguments of type MUCRoom Modifier and Type Method Description List<MUCRoom>
MultiUserChatServiceImpl. getActiveAndInactiveRooms()
Returns all rooms serviced by this service.List<MUCRoom>
MultiUserChatServiceImpl. getActiveChatRooms()
Map<String,MUCRoom>
LocalMUCRoomManager. getLocalRooms()
Cache<String,MUCRoom>
LocalMUCRoomManager. getROOM_CACHE()
static Collection<MUCRoom>
MUCPersistenceManager. loadRoomsFromDB(MultiUserChatService chatserver, Date cleanupDate)
Loads all the rooms that had occupants after a given date from the database.Methods in org.jivesoftware.openfire.muc.spi with parameters of type MUCRoom Modifier and Type Method Description boolean
MultiUserChatServiceImpl. canDiscoverRoom(MUCRoom room, org.xmpp.packet.JID entity)
static void
MUCPersistenceManager. deleteFromDB(MUCRoom room)
Removes the room configuration and its affiliates from the database.static String
MUCPersistenceManager. getReservedNickname(MUCRoom room, String bareJID)
Returns the reserved room nickname for the bare JID in a given room or null if none.static void
MUCPersistenceManager. loadFromDB(MUCRoom room)
Loads the room configuration from the database if the room was persistent.static void
MUCPersistenceManager. loadHistory(MUCRoom room)
Load or reload the room history for a particular room from the database into memory.static void
MUCPersistenceManager. loadHistory(MUCRoom room, int maxNumber)
Load or reload the room history for a particular room from the database into memory.void
MultiUserChatServiceImpl. logConversation(MUCRoom room, org.xmpp.packet.Message message, org.xmpp.packet.JID sender)
static void
MUCPersistenceManager. removeAffiliationFromDB(MUCRoom room, org.xmpp.packet.JID jid, MUCRole.Affiliation oldAffiliation)
Removes the affiliation of the user from the DB if the room is persistent.static void
MUCPersistenceManager. saveAffiliationToDB(MUCRoom room, org.xmpp.packet.JID jid, String nickname, MUCRole.Affiliation newAffiliation, MUCRole.Affiliation oldAffiliation)
Update the DB with the new affiliation of the user in the room.static void
MUCPersistenceManager. saveToDB(MUCRoom room)
Save the room configuration to the DB.void
MultiUserChatServiceImpl. syncChatRoom(MUCRoom room)
static void
MUCPersistenceManager. updateRoomEmptyDate(MUCRoom room)
Updates the room's lock status in the database.static void
MUCPersistenceManager. updateRoomLock(MUCRoom room)
Updates the room's lock status in the database.static void
MUCPersistenceManager. updateRoomSubject(MUCRoom room)
Updates the room's subject in the database.Constructors in org.jivesoftware.openfire.muc.spi with parameters of type MUCRoom Constructor Description FMUCHandler(MUCRoom chatroom)
IQAdminHandler(MUCRoom chatroom)
IQOwnerHandler(MUCRoom chatroom)
MUCRoomSearchInfo(MUCRoom room)
-
Uses of MUCRoom in org.jivesoftware.util.cache
Method parameters in org.jivesoftware.util.cache with type arguments of type MUCRoom Modifier and Type Method Description static com.google.common.collect.Multimap<String,String>
ConsistencyChecks. generateReportForMucRooms(Cache<String,MUCRoom> clusteredRoomCacheInput, Map<String,MUCRoom> localRoomsInput, Map<NodeID,Set<OccupantManager.Occupant>> occupantsByNodeInput, Map<OccupantManager.Occupant,Set<NodeID>> nodesByOccupantInput, String mucServiceName)
static com.google.common.collect.Multimap<String,String>
ConsistencyChecks. generateReportForMucRooms(Cache<String,MUCRoom> clusteredRoomCacheInput, Map<String,MUCRoom> localRoomsInput, Map<NodeID,Set<OccupantManager.Occupant>> occupantsByNodeInput, Map<OccupantManager.Occupant,Set<NodeID>> nodesByOccupantInput, String mucServiceName)
-