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