Enum Constant and Description |
---|
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static IQ.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static IQ.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IQ.Type ERROR
public static final IQ.Type GET
public static final IQ.Type RESULT
public static final IQ.Type SET
public static IQ.Type[] values()
for (IQ.Type c : IQ.Type.values()) System.out.println(c);
public static IQ.Type 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.