public enum ConnectionEventType extends Enum<ConnectionEventType>
| Enum Constant and Description |
|---|
CLOSE |
CONNECT |
CONNECT_FAILED |
EXCEPTION |
| Modifier and Type | Method and Description |
|---|---|
static ConnectionEventType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConnectionEventType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConnectionEventType CONNECT
public static final ConnectionEventType CONNECT_FAILED
public static final ConnectionEventType CLOSE
public static final ConnectionEventType EXCEPTION
public static ConnectionEventType[] values()
for (ConnectionEventType c : ConnectionEventType.values()) System.out.println(c);
public static ConnectionEventType 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 © 2024. All rights reserved.