public static enum Frame.FrameType extends Enum<Frame.FrameType>
Enum Constant and Description |
---|
ACCEPT |
CLOSE |
HELLO |
MESSAGE |
PING |
PONG |
START |
Modifier and Type | Method and Description |
---|---|
static Frame.FrameType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Frame.FrameType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Frame.FrameType HELLO
public static final Frame.FrameType MESSAGE
public static final Frame.FrameType ACCEPT
public static final Frame.FrameType CLOSE
public static final Frame.FrameType START
public static final Frame.FrameType PING
public static final Frame.FrameType PONG
public static Frame.FrameType[] values()
for (Frame.FrameType c : Frame.FrameType.values()) System.out.println(c);
public static Frame.FrameType 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 null