public enum CommandCode extends Enum<CommandCode>
Enum Constant and Description |
---|
DEVICE_DISCOVERY |
DISCOVER_ME |
REQUEST_CONFIGURATION |
REQUEST_DATA |
REQUEST_WRITE |
RESPOND_CONFIGURATION |
RESPOND_DATA |
RESPOND_WRITE |
Modifier and Type | Method and Description |
---|---|
byte |
getCommandCode() |
static CommandCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandCode DEVICE_DISCOVERY
public static final CommandCode DISCOVER_ME
public static final CommandCode REQUEST_CONFIGURATION
public static final CommandCode RESPOND_CONFIGURATION
public static final CommandCode REQUEST_DATA
public static final CommandCode RESPOND_DATA
public static final CommandCode REQUEST_WRITE
public static final CommandCode RESPOND_WRITE
public static CommandCode[] values()
for (CommandCode c : CommandCode.values()) System.out.println(c);
public static CommandCode 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 nullpublic byte getCommandCode()
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.