public enum CommandStatus extends java.lang.Enum<CommandStatus>
| Enum Constant and Description |
|---|
Pending
Command is pending delivery
|
Processing
Command has started processing
|
Responded
Response message has been received
|
Sent
Command has been sent on the underlying transport
|
| Modifier and Type | Method and Description |
|---|---|
static CommandStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CommandStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandStatus Pending
public static final CommandStatus Processing
public static final CommandStatus Sent
public static final CommandStatus Responded
public static CommandStatus[] values()
for (CommandStatus c : CommandStatus.values()) System.out.println(c);
public static CommandStatus 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 null