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