|
Wildfire 3.1.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<IQ.Type>
org.xmpp.packet.IQ.Type
public static enum IQ.Type
Type-safe enumeration to represent the type of the IQ packet. The types are:
IQ.Type.get or IQ.Type.set is received the response
must be IQ.Type.result or IQ.Type.error. The id of the
originating IQ.Type.get of IQ.Type.set IQ must be preserved
when sending IQ.Type.result or IQ.Type.error.
| Enum Constant Summary | |
|---|---|
error
An error has occurred regarding processing or delivery of a previously-sent get or set. |
|
get
The IQ is a request for information or requirements. |
|
result
The IQ is a response to a successful get or set request. |
|
set
The IQ provides required data, sets new values, or replaces existing values. |
|
| Method Summary | |
|---|---|
static IQ.Type |
valueOf(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're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final IQ.Type get
public static final IQ.Type set
public static final IQ.Type result
public static final IQ.Type error
| Method Detail |
|---|
public static final IQ.Type[] values()
for(IQ.Type c : IQ.Type.values())
System.out.println(c);
public static IQ.Type valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
|
Wildfire 3.1.1 Javadoc | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||