public enum FrameType
Frame types enum
| Modifier and Type | Class and Description |
|---|---|
static class |
FrameType.Companion |
| Enum Constant and Description |
|---|
BINARY
Regular application level binary frame
|
CLOSE
Low level close frame type
|
PING
Low level ping frame type
|
PONG
Low level pong frame type
|
TEXT
Regular application level text frame
|
| Modifier and Type | Field and Description |
|---|---|
static FrameType.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getControlFrame()
if this is control frame type
|
int |
getOpcode()
frame type id that is used to transport it
|
public static FrameType TEXT
Regular application level text frame
public static FrameType BINARY
Regular application level binary frame
public static FrameType CLOSE
Low level close frame type
public static FrameType PING
Low level ping frame type
public static FrameType PONG
Low level pong frame type
public static FrameType.Companion Companion