Uses of Class
org.jivesoftware.openfire.muc.MUCOccupant
-
Packages that use MUCOccupant 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). -
-
Uses of MUCOccupant in org.jivesoftware.openfire.muc
Fields in org.jivesoftware.openfire.muc with type parameters of type MUCOccupant Modifier and Type Field Description ArrayList<MUCOccupant>MUCRoom. occupantsAll occupants that are associated with this room.Methods in org.jivesoftware.openfire.muc that return MUCOccupant Modifier and Type Method Description static MUCOccupantMUCOccupant. createRoomSelfRepresentation(MUCRoom room)An empty instance that represents the room itself in the chatroom.MUCOccupantMUCRoom. getOccupantByFullJID(org.xmpp.packet.JID userAddress)Returns the occupant data of a given user in the room by his full JID ornullif no occupant data was found for the specified user.MUCOccupantMUCRoom. getSelfRepresentation()Obtain the occupant data representing the chat service itself (mainly for addressing messages and presence).MUCOccupantMUCRoom. joinRoom(String nickname, String password, HistoryRequest historyRequest, org.xmpp.packet.JID realAddress, 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 MUCOccupant Modifier and Type Method Description Collection<MUCOccupant>MUCRoom. getModerators()Returns a collection with the current list of room moderators.Collection<MUCOccupant>MUCRoom. getOccupants()Obtain the roles of all users in the chatroom.Collection<MUCOccupant>MultiUserChatService. getOccupants(org.xmpp.packet.JID user)Returns the list ofMUCOccupantin all rooms for the specified user's session.List<MUCOccupant>MUCRoom. getOccupantsByBareJID(org.xmpp.packet.JID userAddress)Obtain the roles of a given user in the room by his bare JID.List<MUCOccupant>MUCRoom. getOccupantsByNickname(String nickname)Obtain the roles of a given user by nickname.Collection<MUCOccupant>MUCRoom. getParticipants()Returns a collection with the current list of room participants.Methods in org.jivesoftware.openfire.muc with parameters of type MUCOccupant Modifier and Type Method Description voidMUCRoom. addOccupant(MUCOccupant occupant)Adds an occupant to all the internal occupants collections.voidMUCRoom. addRealJidToMessage(org.xmpp.packet.Message message, MUCOccupant sender)Based on XEP-0045, section 7.2.13: If the room is non-anonymous, the service MAY include an Extended Stanza Addressing (XEP-0033) [16] element that notes the original full JID of the sender by means of the "ofrom" address typevoidMUCRoom. changeSubject(org.xmpp.packet.Message packet, MUCOccupant actor)Changes the room's subject if the occupant has enough permissions.voidMUCRoom. leaveRoom(MUCOccupant leavingOccupant)Remove a member from the chat room.voidMUCRoom. lock(MUCOccupant actor)Locks the room so that users cannot join the room.voidMUCRoom. nicknameChanged(MUCOccupant occupant, org.xmpp.packet.Presence newPresence, String oldNick, String newNick)An event callback fired whenever an occupant changes his nickname within the chatroom.voidMUCRoom. presenceUpdated(MUCOccupant occupant, org.xmpp.packet.Presence newPresence)An event callback fired whenever an occupant updated his presence in the chatroom.voidMUCRoom. removeOccupant(MUCOccupant occupant)Removes the occupant from all the internal occupants collections.voidMUCRoom. send(org.xmpp.packet.Packet packet, MUCOccupant sender)Sends a packet to the occupants of the room.voidHistoryRequest. sendHistory(MUCOccupant occupant, MUCRoomHistory roomHistory)Sends the smallest amount of traffic that meets any combination of the requested criteria.CompletableFuture<Void>MUCRoom. sendInitialPresenceToExistingOccupants(MUCOccupant joinedOccupant)Sends presence of new occupant to existing occupants.CompletableFuture<Void>MUCRoom. sendLeavePresenceToExistingOccupants(MUCOccupant leavingOccupant)Sends presence of a leaving occupant to applicable occupants of the room that is being left.voidMUCRoom. sendPrivatePacket(org.xmpp.packet.Packet packet, MUCOccupant sender)Sends a private packet to a selected occupant.voidMUCRoom. sendPublicMessage(org.xmpp.packet.Message message, MUCOccupant sender)Sends a message to the all the occupants. -
Uses of MUCOccupant in org.jivesoftware.openfire.muc.spi
Methods in org.jivesoftware.openfire.muc.spi that return types with arguments of type MUCOccupant Modifier and Type Method Description Collection<MUCOccupant>MultiUserChatServiceImpl. getOccupants(org.xmpp.packet.JID user)Methods in org.jivesoftware.openfire.muc.spi with parameters of type MUCOccupant Modifier and Type Method Description CompletableFuture<?>FMUCHandler.OutboundJoinProgress. addToQueue(org.xmpp.packet.Packet stanza, MUCOccupant sender)Adds a stanza to be sent to the remote, joined MUC as soon as federation has been established.voidIQAdminHandler. handleIQ(org.xmpp.packet.IQ packet, MUCOccupant actorOccupant)Handles the IQ packet sent by an owner or admin of the room.voidIQOwnerHandler. handleIQ(org.xmpp.packet.IQ packet, MUCOccupant actorOccupant)Handles the IQ packet sent by an owner of the room.Future<?>FMUCHandler. join(MUCOccupant occupantData)Makes a user in our XMPP domain join the FMUC room.protected Future<?>FMUCHandler. join(MUCOccupant occupantData, boolean includeInbound, boolean includeOutbound)CompletableFuture<?>FMUCHandler. propagate(org.xmpp.packet.Packet stanza, MUCOccupant sender)Propagates a stanza to the FMUC set, if FMUC is active for this room.booleanFMUCHandler.OutboundJoin. wantsStanzasSentBy(MUCOccupant sender)
-