public enum BamEventType extends java.lang.Enum<BamEventType>
Enum Constant and Description |
---|
GET_DISCO_FEATURES |
MESSAGE |
MESSAGE_ERROR |
PRESENCE |
PRESENCE_ERROR |
PRESENCE_PROBE |
PRESENCE_SUBSCRIBE |
PRESENCE_SUBSCRIBED |
PRESENCE_UNAVAILABLE |
PRESENCE_UNSUBSCRIBE |
PRESENCE_UNSUBSCRIBED |
QUERY_ERROR |
QUERY_GET |
QUERY_RESULT |
QUERY_SET |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getPrefix() |
boolean |
hasError() |
boolean |
hasId() |
static BamEventType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BamEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BamEventType MESSAGE
public static final BamEventType MESSAGE_ERROR
public static final BamEventType QUERY_GET
public static final BamEventType QUERY_SET
public static final BamEventType QUERY_RESULT
public static final BamEventType QUERY_ERROR
public static final BamEventType PRESENCE
public static final BamEventType PRESENCE_UNAVAILABLE
public static final BamEventType PRESENCE_PROBE
public static final BamEventType PRESENCE_SUBSCRIBE
public static final BamEventType PRESENCE_SUBSCRIBED
public static final BamEventType PRESENCE_UNSUBSCRIBE
public static final BamEventType PRESENCE_UNSUBSCRIBED
public static final BamEventType PRESENCE_ERROR
public static final BamEventType GET_DISCO_FEATURES
public static BamEventType[] values()
for (BamEventType c : BamEventType.values()) System.out.println(c);
public static BamEventType 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 nullpublic java.lang.String getPrefix()
public boolean hasId()
public boolean hasError()