public static enum MessageType.Type extends Enum<MessageType.Type>
| Enum Constant and Description |
|---|
ACK |
HELLO |
NOTIFICATION |
PING |
REGISTER |
UNREGISTER |
| Modifier and Type | Method and Description |
|---|---|
static MessageType.Type |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MessageType.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MessageType.Type HELLO
public static final MessageType.Type REGISTER
public static final MessageType.Type NOTIFICATION
public static final MessageType.Type UNREGISTER
public static final MessageType.Type ACK
public static final MessageType.Type PING
public static MessageType.Type[] values()
for (MessageType.Type c : MessageType.Type.values()) System.out.println(c);
public static MessageType.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 nameNullPointerException - if the argument is nullCopyright © 2014 JBoss by Red Hat. All Rights Reserved.