| 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).
|
| Modifier and Type | Method and Description |
|---|---|
MUCRole.Affiliation |
MUCRole.getAffiliation()
Obtain the affiliation state of the user.
|
MUCRole.Affiliation |
MUCRoom.getAffiliation(org.xmpp.packet.JID bareJID)
Returns the affiliation state of the user in the room.
|
static MUCRole.Affiliation |
MUCRole.Affiliation.valueOf(int value)
Returns the affiliation associated with the specified value.
|
static MUCRole.Affiliation |
MUCRole.Affiliation.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MUCRole.Affiliation[] |
MUCRole.Affiliation.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MUCRole.setAffiliation(MUCRole.Affiliation newAffiliation)
Call this method to promote or demote a user's affiliation in a chatroom.
|
| Modifier and Type | Method and Description |
|---|---|
MUCRole.Affiliation |
UpdateOccupantRequest.getAffiliation() |
MUCRole.Affiliation |
AddAffiliation.getAffiliation() |
MUCRole.Affiliation |
UpdateOccupant.getAffiliation() |
MUCRole.Affiliation |
OccupantAddedEvent.getAffiliation() |
| Constructor and Description |
|---|
AddAffiliation(LocalMUCRoom room,
org.xmpp.packet.JID bareJID,
MUCRole.Affiliation affiliation) |
AddAffiliation(LocalMUCRoom room,
String bareJID,
MUCRole.Affiliation affiliation) |
UpdateOccupantRequest(LocalMUCRoom room,
String nickname,
MUCRole.Affiliation newAffiliation,
MUCRole.Role newRole) |
| Modifier and Type | Method and Description |
|---|---|
MUCRole.Affiliation |
LocalMUCRole.getAffiliation() |
MUCRole.Affiliation |
RemoteMUCRole.getAffiliation() |
MUCRole.Affiliation |
LocalMUCRoom.getAffiliation(org.xmpp.packet.JID jid) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
void |
LocalMUCRole.setAffiliation(MUCRole.Affiliation newAffiliation) |
void |
RemoteMUCRole.setAffiliation(MUCRole.Affiliation newAffiliation) |
| Constructor and Description |
|---|
LocalMUCRole(MultiUserChatService chatserver,
LocalMUCRoom chatroom,
String nickname,
MUCRole.Role role,
MUCRole.Affiliation affiliation,
LocalMUCUser chatuser,
org.xmpp.packet.Presence presence,
PacketRouter packetRouter)
Create a new role.
|
Copyright © 2003–2019 Ignite Realtime. All rights reserved.