public static enum Message.MessageType extends Enum<Message.MessageType>
Enum Constant and Description |
---|
CONNECTION |
EVENT |
PAUSE |
RESUME |
SUBSCRIBE |
UNSUBSCRIBE |
WRITE |
Modifier and Type | Method and Description |
---|---|
static Message.MessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Message.MessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Message.MessageType SUBSCRIBE
public static final Message.MessageType CONNECTION
public static final Message.MessageType EVENT
public static final Message.MessageType WRITE
public static final Message.MessageType PAUSE
public static final Message.MessageType RESUME
public static final Message.MessageType UNSUBSCRIBE
public static Message.MessageType[] values()
for (Message.MessageType c : Message.MessageType.values()) System.out.println(c);
public static Message.MessageType 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 © 2015. All rights reserved.