public enum SubscriptionState extends java.lang.Enum<SubscriptionState>
Represents the subscription state to a node.
Enum Constant and Description |
---|
NONE
The node MUST NOT send event notifications or payloads to the Entity.
|
PENDING
An entity has requested to subscribe to a node and the request has not yet been approved by a node owner.
|
SUBSCRIBED
An entity is subscribed to a node.
|
UNCONFIGURED
An entity has subscribed but its subscription options have not yet been configured.
|
Modifier and Type | Method and Description |
---|---|
static SubscriptionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubscriptionState NONE
public static final SubscriptionState PENDING
public static final SubscriptionState SUBSCRIBED
public static final SubscriptionState UNCONFIGURED
public static SubscriptionState[] values()
for (SubscriptionState c : SubscriptionState.values()) System.out.println(c);
public static SubscriptionState 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 namejava.lang.NullPointerException
- if the argument is nullCopyright © 2014–2019 XMPP.rocks. All rights reserved.