public static enum ClientStatusListenerExt.DisconnectCause extends java.lang.Enum<ClientStatusListenerExt.DisconnectCause>
| Enum Constant and Description |
|---|
CONNECTION_CLOSED
Connection closed by other side
|
TIMEOUT
Connection timed out
|
| Modifier and Type | Method and Description |
|---|---|
static ClientStatusListenerExt.DisconnectCause |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ClientStatusListenerExt.DisconnectCause[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientStatusListenerExt.DisconnectCause TIMEOUT
public static final ClientStatusListenerExt.DisconnectCause CONNECTION_CLOSED
public static ClientStatusListenerExt.DisconnectCause[] values()
for (ClientStatusListenerExt.DisconnectCause c : ClientStatusListenerExt.DisconnectCause.values()) System.out.println(c);
public static ClientStatusListenerExt.DisconnectCause 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