public enum StanzaType extends Enum<StanzaType>
Enum Constant and Description |
---|
chat |
error
The stanza reports an error that has occurred regarding processing or
delivery of a get or set request.
|
get
The stanza requests information, inquires about what data is needed in
order to complete further operations, etc.
|
groupchat |
headline |
normal |
probe |
result
The stanza is a response to a successful get or set request.
|
set
The stanza provides data that is needed for an operation to be completed,
sets new values, replaces existing values, etc.
|
subscribe |
subscribed |
unavailable |
unsubscribe |
unsubscribed |
Modifier and Type | Method and Description |
---|---|
static StanzaType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StanzaType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StanzaType chat
public static final StanzaType error
public static final StanzaType get
public static final StanzaType groupchat
public static final StanzaType headline
public static final StanzaType normal
public static final StanzaType probe
public static final StanzaType result
public static final StanzaType set
public static final StanzaType subscribe
public static final StanzaType subscribed
public static final StanzaType unavailable
public static final StanzaType unsubscribe
public static final StanzaType unsubscribed
public static StanzaType[] values()
for (StanzaType c : StanzaType.values()) System.out.println(c);
public static StanzaType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2006–2023 Tigase. All rights reserved.