public static enum LinkMessage.LinkMessageType extends Enum<LinkMessage.LinkMessageType>
Enum Constant and Description |
---|
CONNECTION_REQUEST |
CONNECTION_RESPONSE |
DISCONNECTION_REQUEST |
RECONNECTION_REQUEST |
Modifier and Type | Method and Description |
---|---|
static LinkMessage.LinkMessageType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LinkMessage.LinkMessageType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinkMessage.LinkMessageType CONNECTION_REQUEST
public static final LinkMessage.LinkMessageType CONNECTION_RESPONSE
public static final LinkMessage.LinkMessageType DISCONNECTION_REQUEST
public static final LinkMessage.LinkMessageType RECONNECTION_REQUEST
public static LinkMessage.LinkMessageType[] values()
for (LinkMessage.LinkMessageType c : LinkMessage.LinkMessageType.values()) System.out.println(c);
public static LinkMessage.LinkMessageType 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 universAAL Consortium. All Rights Reserved.