public enum Command extends Enum<Command>
| Modifier and Type | Method and Description |
|---|---|
static Command |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Command Write
public static final Command Read
public static final Command Response
public static final Command Notify
public static final Command TransmitIn
public static final Command TransmitOut
public static final Command WriteControl
public static final Command ReadControl
public static final Command ResponseControl
public static final Command NotifyControl
public static final Command AddDeviceControl
public static final Command DelDeviceControl
public static final Command ListDeviceControl
public static final Command ResponseListDeviceControl
public static final Command NotifyChangeControl
public static final Command StatusChangeControl
public static final Command DynamicWrite
public static final Command DynamicRead
public static final Command DynamicResponse
public static final Command DynamicNotify
public static Command[] values()
for (Command c : Command.values()) System.out.println(c);
public static Command 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 © 2019. All rights reserved.