public static enum RcpTypes.Command extends java.lang.Enum<RcpTypes.Command>
| Enum Constant and Description |
|---|
DISCOVER |
INFO |
INITIALIZE |
INVALID |
REMOVE |
UPDATE |
UPDATEVALUE |
| Modifier and Type | Method and Description |
|---|---|
static RcpTypes.Command |
byId(long id) |
long |
id() |
static RcpTypes.Command |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RcpTypes.Command[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RcpTypes.Command INVALID
public static final RcpTypes.Command INFO
public static final RcpTypes.Command INITIALIZE
public static final RcpTypes.Command DISCOVER
public static final RcpTypes.Command UPDATE
public static final RcpTypes.Command REMOVE
public static final RcpTypes.Command UPDATEVALUE
public static RcpTypes.Command[] values()
for (RcpTypes.Command c : RcpTypes.Command.values()) System.out.println(c);
public static RcpTypes.Command 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 long id()
public static RcpTypes.Command byId(long id)