public enum ConnectionEvent extends java.lang.Enum<ConnectionEvent>
| Enum Constant and Description |
|---|
closed |
closing |
connected |
connecting |
disconnected |
failed |
initialized |
suspended |
update |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionEvent |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEvent[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEvent initialized
public static final ConnectionEvent connecting
public static final ConnectionEvent connected
public static final ConnectionEvent disconnected
public static final ConnectionEvent suspended
public static final ConnectionEvent closing
public static final ConnectionEvent closed
public static final ConnectionEvent failed
public static final ConnectionEvent update
public static ConnectionEvent[] values()
for (ConnectionEvent c : ConnectionEvent.values()) System.out.println(c);
public static ConnectionEvent 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