public static enum Event.EventName extends Enum<Event.EventName>
| Enum Constant and Description |
|---|
ON_ACCEPTED |
ON_CONNECT |
ON_DISCONNECT |
ON_EXCEPTION |
ON_FLUSH |
ON_IDLE |
ON_RECEIVE |
ON_SENT |
| Modifier and Type | Method and Description |
|---|---|
static Event.EventName |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Event.EventName[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Event.EventName ON_ACCEPTED
public static final Event.EventName ON_CONNECT
public static final Event.EventName ON_DISCONNECT
public static final Event.EventName ON_RECEIVE
public static final Event.EventName ON_SENT
public static final Event.EventName ON_FLUSH
public static final Event.EventName ON_IDLE
public static final Event.EventName ON_EXCEPTION
public static Event.EventName[] values()
for (Event.EventName c : Event.EventName.values()) System.out.println(c);
public static Event.EventName 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 © 2019 Voovan. All rights reserved.