| Package | Description |
|---|---|
| org.jivesoftware.openfire.handler |
IQ class implementations.
|
| org.jivesoftware.openfire.roster |
Provides classes for managing the roster.
|
| Modifier and Type | Method and Description |
|---|---|
RosterItem.SubType |
PresenceSubscribeHandler.Change.getNewSub() |
| Modifier and Type | Method and Description |
|---|---|
static PresenceSubscribeHandler.Change |
PresenceSubscribeHandler.getStateChange(RosterItem.SubType itemSubType,
org.xmpp.packet.Presence.Type action,
boolean isSending)
Determine the changes to apply to the item, according to its subscription state.
|
| Constructor and Description |
|---|
Change(RosterItem.RecvType recv,
RosterItem.SubType sub,
RosterItem.AskType ask) |
| Modifier and Type | Field and Description |
|---|---|
static RosterItem.SubType |
RosterItem.SUB_BOTH
The roster item and owner have a mutual subscription.
|
static RosterItem.SubType |
RosterItem.SUB_FROM
The roster item has a subscription to the roster owner's presence.
|
static RosterItem.SubType |
RosterItem.SUB_NONE
No subscription is established.
|
static RosterItem.SubType |
RosterItem.SUB_REMOVE
Indicates the roster item should be removed.
|
static RosterItem.SubType |
RosterItem.SUB_TO
The roster owner has a subscription to the roster item's presence.
|
protected RosterItem.SubType |
RosterItem.subStatus |
| Modifier and Type | Method and Description |
|---|---|
RosterItem.SubType |
RosterItem.getSubStatus()
Obtain the current subscription status of the item.
|
static RosterItem.SubType |
RosterItem.getSubType(org.xmpp.packet.Roster.Item item) |
static RosterItem.SubType |
RosterItem.SubType.getTypeFromInt(int value) |
static RosterItem.SubType |
RosterItem.SubType.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RosterItem.SubType[] |
RosterItem.SubType.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RosterItem.setSubStatus(RosterItem.SubType subStatus)
Set the current subscription status of the item.
|
| Constructor and Description |
|---|
RosterItem(org.xmpp.packet.JID jid,
RosterItem.SubType subStatus,
RosterItem.AskType askStatus,
RosterItem.RecvType recvStatus,
String nickname,
List<String> groups) |
RosterItem(long id,
org.xmpp.packet.JID jid,
RosterItem.SubType subStatus,
RosterItem.AskType askStatus,
RosterItem.RecvType recvStatus,
String nickname,
List<String> groups) |
Copyright © 2003–2020 Ignite Realtime. All rights reserved.