List<org.xmpp.packet.Presence> |
MUCRoom.addAdmin(org.xmpp.packet.JID jid,
MUCRole sendRole) |
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 sendRole) |
Adds a new user to the list of members.
|
org.xmpp.packet.Presence |
MUCRoom.addModerator(org.xmpp.packet.JID jid,
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.
|
void |
MUCRoom.addOccupantRole(MUCRole role) |
Adds the role of the occupant from all the internal occupants collections.
|
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 sendRole) |
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.Presence |
MUCRoom.addParticipant(org.xmpp.packet.JID jid,
String reason,
MUCRole senderRole) |
Changes the role of the user within the room to participant.
|
void |
MUCRoom.addRealJidToMessage(org.xmpp.packet.Message message,
MUCRole role) |
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 type
|
org.xmpp.packet.Presence |
MUCRoom.addVisitor(org.xmpp.packet.JID jid,
MUCRole senderRole) |
Changes the role of the user within the room to visitor.
|
void |
MUCRoom.changeSubject(org.xmpp.packet.Message packet,
MUCRole role) |
Changes the room's subject if the occupant has enough permissions.
|
void |
MUCRoom.leaveRoom(MUCRole leaveRole) |
Remove a member from the chat room.
|
void |
MUCRoom.lock(MUCRole senderRole) |
Locks the room so that users cannot join the room.
|
void |
MUCRoom.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.
|
void |
MUCRoom.presenceUpdated(MUCRole occupantRole,
org.xmpp.packet.Presence newPresence) |
An event callback fired whenever an occupant updated his presence in the chatroom.
|
void |
MUCRoom.removeOccupantRole(MUCRole leaveRole) |
Removes the role of the occupant from all the internal occupants collections.
|
void |
MUCRoom.send(org.xmpp.packet.Packet packet,
MUCRole sender) |
Sends a packet to the occupants of the room.
|
void |
HistoryRequest.sendHistory(MUCRole joinRole,
MUCRoomHistory roomHistory) |
Sends the smallest amount of traffic that meets any combination of the requested criteria.
|
CompletableFuture<Void> |
MUCRoom.sendInitialPresenceToExistingOccupants(MUCRole joinRole) |
Sends presence of new occupant to existing occupants.
|
void |
MUCRoom.sendInvitation(org.xmpp.packet.JID to,
String reason,
MUCRole senderRole,
List<org.dom4j.Element> extensions) |
Sends an invitation to a user.
|
CompletableFuture<Void> |
MUCRoom.sendLeavePresenceToExistingOccupants(MUCRole leaveRole) |
Sends presence of a leaving occupant to applicable occupants of the room that is being left.
|
void |
MUCRoom.sendPrivatePacket(org.xmpp.packet.Packet packet,
MUCRole senderRole) |
Sends a private packet to a selected occupant.
|
void |
MUCRoom.sendPublicMessage(org.xmpp.packet.Message message,
MUCRole senderRole) |
Sends a message to the all the occupants.
|
void |
MUCRoom.unlock(MUCRole senderRole) |
Unlocks the room so that users can join the room.
|