public static enum ProtocolMessage.Flag extends java.lang.Enum<ProtocolMessage.Flag>
| Enum Constant and Description |
|---|
attach_resume |
has_backlog |
has_presence |
presence |
presence_subscribe |
publish |
resumed |
subscribe |
| Modifier and Type | Method and Description |
|---|---|
int |
getMask() |
static ProtocolMessage.Flag |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ProtocolMessage.Flag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ProtocolMessage.Flag has_presence
public static final ProtocolMessage.Flag has_backlog
public static final ProtocolMessage.Flag resumed
public static final ProtocolMessage.Flag attach_resume
public static final ProtocolMessage.Flag presence
public static final ProtocolMessage.Flag publish
public static final ProtocolMessage.Flag subscribe
public static final ProtocolMessage.Flag presence_subscribe
public static ProtocolMessage.Flag[] values()
for (ProtocolMessage.Flag c : ProtocolMessage.Flag.values()) System.out.println(c);
public static ProtocolMessage.Flag 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 int getMask()