|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PresenceType>
tigase.muc.xmpp.stanzas.PresenceType
public enum PresenceType
Types od Presence stanza.
Created: 2005-01-27 19:53:54
| Enum Constant Summary | |
|---|---|
ERROR
An error has occurred regarding processing or delivery of a previously-sent presence stanza. |
|
PROBE
A request for an entity's current presence; SHOULD be generated only by a server on behalf of a user. |
|
SUBSCRIBE
The sender wishes to subscribe to the recipient's presence. |
|
SUBSCRIBED
The sender has allowed the recipient to receive their presence. |
|
UNAVAILABLE
Signals that the entity is no longer available for communication. |
|
UNSUBSCRIBE
The sender is unsubscribing from another entity's presence. |
|
UNSUBSCRIBED
The subscription request has been denied or a previously-granted subscription has been cancelled. |
|
| Method Summary | |
|---|---|
static PresenceType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static PresenceType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final PresenceType UNAVAILABLE
public static final PresenceType SUBSCRIBE
public static final PresenceType SUBSCRIBED
public static final PresenceType UNSUBSCRIBE
public static final PresenceType UNSUBSCRIBED
public static final PresenceType PROBE
public static final PresenceType ERROR
| Method Detail |
|---|
public static PresenceType[] values()
for (PresenceType c : PresenceType.values()) System.out.println(c);
public static PresenceType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||