Uses of Interface
org.jivesoftware.openfire.muc.MUCRole
-
Packages that use MUCRole Package Description org.jivesoftware.openfire.muc Implementation of Multi-User Chat (XEP-0045).org.jivesoftware.openfire.muc.cluster org.jivesoftware.openfire.muc.spi Implementation of Multi-User Chat (XEP-0045). -
-
Uses of MUCRole in org.jivesoftware.openfire.muc
Methods in org.jivesoftware.openfire.muc that return MUCRole Modifier and Type Method Description MUCRoleMUCRoom. getOccupant(String nickname)Deprecated.PreferMUCRoom.getOccupantsByNickname(String)instead (a user may be connected more than once)MUCRoleMUCRoom. getOccupantByFullJID(org.xmpp.packet.JID jid)Returns the role of a given user in the room by his full JID ornullif no role was found for the specified user.MUCRoleMUCRoom. getRole()Obtain the role of the chat server (mainly for addressing messages and presence).MUCRoleMUCRoom. joinRoom(String nickname, String password, HistoryRequest historyRequest, LocalMUCUser user, org.xmpp.packet.Presence presence)Joins the room using the given nickname.Methods in org.jivesoftware.openfire.muc that return types with arguments of type MUCRole Modifier and Type Method Description Collection<MUCRole>MUCRoom. getModerators()Returns a collection with the current list of room moderators.Collection<MUCRole>MultiUserChatService. getMUCRoles(org.xmpp.packet.JID user)Returns the list ofMUCRolein all rooms for the specified user's session.Collection<MUCRole>MUCRoom. getOccupants()Obtain the roles of all users in the chatroom.List<MUCRole>MUCRoom. getOccupantsByBareJID(org.xmpp.packet.JID jid)Obtain the roles of a given user in the room by his bare JID.List<MUCRole>MUCRoom. getOccupantsByNickname(String nickname)Obtain the roles of a given user by nickname.Collection<MUCRole>MUCRoom. getParticipants()Returns a collection with the current list of room participants.Methods in org.jivesoftware.openfire.muc with parameters of type MUCRole Modifier and Type Method Description List<org.xmpp.packet.Presence>MUCRoom. addAdmin(org.xmpp.packet.JID jid, MUCRole senderRole)Adds a new user to the list of admins.List<org.xmpp.packet.Presence>MUCRoom. addAdmins(List<org.xmpp.packet.JID> newAdmins, MUCRole senderRole)Adds a list of users to the list of admins.List<org.xmpp.packet.Presence>MUCRoom. addMember(org.xmpp.packet.JID jid, String nickname, MUCRole senderRole)Adds a new user to the list of members.org.xmpp.packet.PresenceMUCRoom. addModerator(org.xmpp.packet.JID fullJID, MUCRole senderRole)Changes the role of the user within the room to moderator.List<org.xmpp.packet.Presence>MUCRoom. addNone(org.xmpp.packet.JID jid, MUCRole senderRole)Removes the user from all the other affiliation list thus giving the user a NONE affiliation.List<org.xmpp.packet.Presence>MUCRoom. addOutcast(org.xmpp.packet.JID jid, String reason, MUCRole senderRole)Adds a new user to the list of outcast users.List<org.xmpp.packet.Presence>MUCRoom. addOwner(org.xmpp.packet.JID jid, MUCRole senderRole)Adds a new user to the list of owners.List<org.xmpp.packet.Presence>MUCRoom. addOwners(List<org.xmpp.packet.JID> newOwners, MUCRole senderRole)Adds a list of users to the list of owners.org.xmpp.packet.PresenceMUCRoom. addParticipant(org.xmpp.packet.JID fullJID, String reason, MUCRole senderRole)Changes the role of the user within the room to participant.org.xmpp.packet.PresenceMUCRoom. addVisitor(org.xmpp.packet.JID jid, MUCRole senderRole)Changes the role of the user within the room to visitor.voidMUCRoom. changeSubject(org.xmpp.packet.Message packet, MUCRole role)Changes the room's subject if the occupant has enough permissions.voidMUCRoom. leaveRoom(MUCRole leaveRole)Remove a member from the chat room.voidMUCRoom. lock(MUCRole senderRole)Locks the room so that users cannot join the room.voidMUCRoom. nicknameChanged(MUCRole occupantRole, org.xmpp.packet.Presence newPresence, String oldNick, String newNick)An event callback fired whenever an occupant changes his nickname within the chatroom.voidMUCRoom. presenceUpdated(MUCRole occupantRole, org.xmpp.packet.Presence newPresence)An event callback fired whenever an occupant updated his presence in the chatroom.voidHistoryRequest. sendHistory(MUCRole joinRole, MUCRoomHistory roomHistory)Sends the smallest amount of traffic that meets any combination of the requested criteria.voidMUCRoom. sendInvitation(org.xmpp.packet.JID to, String reason, MUCRole role, List<org.dom4j.Element> extensions)Sends an invitation to a user.voidMUCRoom. sendPrivatePacket(org.xmpp.packet.Packet packet, MUCRole senderRole)Sends a private packet to a selected occupant.voidMUCRoom. sendPublicMessage(org.xmpp.packet.Message message, MUCRole senderRole)Sends a message to the all the occupants.voidMUCRoom. unlock(MUCRole senderRole)Unlocks the room so that users can join the room. -
Uses of MUCRole in org.jivesoftware.openfire.muc.cluster
Methods in org.jivesoftware.openfire.muc.cluster that return MUCRole Modifier and Type Method Description MUCRoleOccupantLeftEvent. getRole()Constructors in org.jivesoftware.openfire.muc.cluster with parameters of type MUCRole Constructor Description OccupantAddedEvent(LocalMUCRoom room, MUCRole occupant)OccupantLeftEvent(LocalMUCRoom room, MUCRole role)UpdateOccupant(LocalMUCRoom room, MUCRole role)Constructor parameters in org.jivesoftware.openfire.muc.cluster with type arguments of type MUCRole Constructor Description RoomInfo(LocalMUCRoom room, Collection<MUCRole> occupants) -
Uses of MUCRole in org.jivesoftware.openfire.muc.spi
Classes in org.jivesoftware.openfire.muc.spi that implement MUCRole Modifier and Type Class Description classLocalMUCRoleImplementation of a local room occupant.classRemoteMUCRoleRepresentation of a room occupant of a local room that is being hosted by another cluster node.Methods in org.jivesoftware.openfire.muc.spi that return MUCRole Modifier and Type Method Description MUCRoleLocalMUCRoom. getOccupant(String nickname)Deprecated.PreferLocalMUCRoom.getOccupantsByNickname(String)(user can be connected more than once)MUCRoleLocalMUCRoom. getOccupantByFullJID(org.xmpp.packet.JID jid)MUCRoleLocalMUCRoom. getRole()MUCRoleLocalMUCRoom. joinRoom(String nickname, String password, HistoryRequest historyRequest, LocalMUCUser user, org.xmpp.packet.Presence presence)Methods in org.jivesoftware.openfire.muc.spi that return types with arguments of type MUCRole Modifier and Type Method Description Collection<MUCRole>LocalMUCRoom. getModerators()Collection<MUCRole>MultiUserChatServiceImpl. getMUCRoles(org.xmpp.packet.JID user)Collection<MUCRole>LocalMUCRoom. getOccupants()List<MUCRole>LocalMUCRoom. getOccupantsByBareJID(org.xmpp.packet.JID jid)List<MUCRole>LocalMUCRoom. getOccupantsByNickname(String nickname)Collection<MUCRole>LocalMUCRoom. getParticipants()Methods in org.jivesoftware.openfire.muc.spi with parameters of type MUCRole Modifier and Type Method Description List<org.xmpp.packet.Presence>LocalMUCRoom. addAdmin(org.xmpp.packet.JID jid, MUCRole sendRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addAdmins(List<org.xmpp.packet.JID> newAdmins, MUCRole senderRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addMember(org.xmpp.packet.JID jid, String nickname, MUCRole sendRole)org.xmpp.packet.PresenceLocalMUCRoom. addModerator(org.xmpp.packet.JID jid, MUCRole senderRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addNone(org.xmpp.packet.JID jid, MUCRole senderRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addOutcast(org.xmpp.packet.JID jid, String reason, MUCRole senderRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addOwner(org.xmpp.packet.JID jid, MUCRole sendRole)List<org.xmpp.packet.Presence>LocalMUCRoom. addOwners(List<org.xmpp.packet.JID> newOwners, MUCRole senderRole)org.xmpp.packet.PresenceLocalMUCRoom. addParticipant(org.xmpp.packet.JID jid, String reason, MUCRole senderRole)org.xmpp.packet.PresenceLocalMUCRoom. addVisitor(org.xmpp.packet.JID jid, MUCRole senderRole)voidLocalMUCRoom. changeSubject(org.xmpp.packet.Message packet, MUCRole role)voidIQAdminHandler. handleIQ(org.xmpp.packet.IQ packet, MUCRole role)Handles the IQ packet sent by an owner or admin of the room.voidIQOwnerHandler. handleIQ(org.xmpp.packet.IQ packet, MUCRole role)Handles the IQ packet sent by an owner of the room.voidLocalMUCRoom. leaveRoom(MUCRole leaveRole)voidLocalMUCRoom. lock(MUCRole senderRole)voidLocalMUCRoom. nicknameChanged(MUCRole occupantRole, org.xmpp.packet.Presence newPresence, String oldNick, String newNick)voidLocalMUCRoom. presenceUpdated(MUCRole occupantRole, org.xmpp.packet.Presence newPresence)Handles occupants updating their presence in the chatroom.voidLocalMUCRoom. sendInvitation(org.xmpp.packet.JID to, String reason, MUCRole senderRole, List<org.dom4j.Element> extensions)voidLocalMUCRoom. sendPrivatePacket(org.xmpp.packet.Packet packet, MUCRole senderRole)voidLocalMUCRoom. sendPublicMessage(org.xmpp.packet.Message message, MUCRole senderRole)voidLocalMUCRoom. unlock(MUCRole senderRole)
-