Package | Description |
---|---|
rocks.xmpp.extensions.muc |
Provides classes for XEP-0045: Multi-User Chat.
|
rocks.xmpp.extensions.muc.model |
Provides XML schema implementations and configuration classes for XEP-0045: Multi-User Chat.
|
rocks.xmpp.extensions.muc.model.admin |
Provides XML schema implementations of XEP-0045: Multi-User Chat (#admin).
|
rocks.xmpp.extensions.muc.model.user |
Provides XML schema implementations of XEP-0045: Multi-User Chat (#user).
|
Modifier and Type | Method and Description |
---|---|
Role |
Occupant.getRole()
Gets the role of the occupant.
|
Modifier and Type | Method and Description |
---|---|
AsyncResult<IQ> |
ChatRoom.changeRole(Role role,
java.lang.String nickname,
java.lang.String reason)
Changes the role for an occupant.
|
Modifier and Type | Method and Description |
---|---|
Role |
RequestVoice.getRole()
Gets the requested role.
|
Role |
Item.getRole()
Gets the role.
|
static Role |
Role.valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Role[] |
Role.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
java.util.Collection<Role> |
RoomConfiguration.getRolesForWhichPresenceIsBroadcast()
Gets the roles for which presence is broadcast.
|
java.util.Collection<Role> |
RoomConfiguration.getRolesThatMayDiscoverRealJids()
Get the roles, which may discover real JIDs.
|
java.util.Collection<Role> |
RoomConfiguration.getRolesThatMayRetrieveMemberList()
Gets the roles which may retrieve member list.
|
java.util.Collection<Role> |
RoomConfiguration.getRolesThatMaySendPrivateMessages()
Gets the roles that may send private messages.
|
Modifier and Type | Method and Description |
---|---|
boolean |
Role.isHigherThan(Role role)
Compares two roles and returns true, if this role is higher than the other with regards to their privileges in a multi-user chat.
|
RequestVoice.Builder |
RequestVoice.Builder.role(Role role)
Sets the requested role.
|
Modifier and Type | Method and Description |
---|---|
RoomConfiguration.Builder |
RoomConfiguration.Builder.rolesForWhichPresenceIsBroadcast(java.util.Collection<Role> roles)
Roles for which presence is broadcast.
|
RoomConfiguration.Builder |
RoomConfiguration.Builder.rolesThatMayDiscoverRealJids(java.util.Collection<Role> roles)
Roles that may discover real JIDs of occupants.
|
RoomConfiguration.Builder |
RoomConfiguration.Builder.rolesThatMayRetrieveMemberList(java.util.Collection<Role> rolesThatMayRetrieveMemberList)
Roles that may retrieve member list.
|
RoomConfiguration.Builder |
RoomConfiguration.Builder.rolesThatMaySendPrivateMessages(java.util.Collection<Role> rolesThatMaySendPrivateMessages)
Roles that may send private messages.
|
Modifier and Type | Method and Description |
---|---|
static Item |
MucAdmin.createItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Actor actor,
java.lang.String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Role role)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Role role,
java.lang.String nick)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static Item |
MucAdmin.createItem(Role role,
java.lang.String nick,
java.lang.String reason)
Creates an item, which can be used as input parameter for
MucAdmin.withItems(rocks.xmpp.extensions.muc.model.Item...) . |
static MucAdmin |
MucAdmin.withItem(Role role)
Creates a
<query/> element with an <item/> child element. |
static MucAdmin |
MucAdmin.withItem(Role role,
java.lang.String nick,
java.lang.String reason)
Creates a
<query/> element with an <item/> child element. |
Modifier and Type | Method and Description |
---|---|
static MucUser |
MucUser.withDestroy(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String reason)
Creates a
<x/> element with an <item/> and a <destroy/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Actor actor,
java.lang.String reason,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Actor actor,
java.lang.String reason,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Jid jid,
java.lang.String nick,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Affiliation affiliation,
Role role,
java.lang.String nick,
java.lang.String reason)
Creates a
<x/> element with an <item/> and a <status/> child element. |
static MucUser |
MucUser.withItem(Role role,
java.lang.String nick,
java.lang.String reason,
Status... status)
Creates a
<x/> element with an <item/> and a <status/> child element. |
Copyright © 2014–2019 XMPP.rocks. All rights reserved.