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