public static enum LoginResponseCmd.StatusCode extends Enum<LoginResponseCmd.StatusCode>
| Enum Constant and Description |
|---|
ERR_INVALID_APIKEY |
ERR_USERNAME_NOT_FOUND |
OK |
OK_BUSY |
| Modifier and Type | Method and Description |
|---|---|
static LoginResponseCmd.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoginResponseCmd.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoginResponseCmd.StatusCode OK
public static final LoginResponseCmd.StatusCode OK_BUSY
public static final LoginResponseCmd.StatusCode ERR_USERNAME_NOT_FOUND
public static final LoginResponseCmd.StatusCode ERR_INVALID_APIKEY
public static LoginResponseCmd.StatusCode[] values()
for (LoginResponseCmd.StatusCode c : LoginResponseCmd.StatusCode.values()) System.out.println(c);
public static LoginResponseCmd.StatusCode 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 © 2015. All Rights Reserved.