public enum ActionType extends java.lang.Enum<ActionType>
| Enum Constant and Description |
|---|
CLOSE_CONNECTION |
CLOSE_NEED |
IMPLICIT_OPEN_CONNECTION |
NO_ACTION |
OPEN_CONNECTION |
SENDMESSAGE |
SUBSCRIBE |
UNSUBSCRIBE |
| Modifier and Type | Method and Description |
|---|---|
static ActionType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActionType CLOSE_CONNECTION
public static final ActionType CLOSE_NEED
public static final ActionType OPEN_CONNECTION
public static final ActionType IMPLICIT_OPEN_CONNECTION
public static final ActionType SENDMESSAGE
public static final ActionType SUBSCRIBE
public static final ActionType UNSUBSCRIBE
public static final ActionType NO_ACTION
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType 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 nullCopyright © 2018. All Rights Reserved.