| Enum Constant and Description |
|---|
CLIENT
This
NodeType labels the client application to report its connection status. |
DEVICE
This
NodeType labels the Device to report its connection status. |
NETWORK
This
NodeType labels the Network to report its connection status. |
| Modifier and Type | Method and Description |
|---|---|
int |
getInt()
A function to return the ordinal corresponding to the
NodeType enum. |
static NodeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static NodeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeType NETWORK
NodeType labels the Network to report its connection status.public static final NodeType DEVICE
NodeType labels the Device to report its connection status.public static final NodeType CLIENT
NodeType labels the client application to report its connection status.public static NodeType[] values()
for (NodeType c : NodeType.values()) System.out.println(c);
public static NodeType 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 getInt()
NodeType enum.NodeType as defined in coco-standard.