public final class Messages extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ALREADY_CLOSE
The websocket is already closed.
|
static MessageBuilder |
BUILDER
The message builder.
|
static String |
CATEGORY
Category message errors.
|
static int |
CLOSE
A close has been request.
|
static int |
CLOSE_TCP
Close TCP connection.
|
static int |
ERROR_UNKNOWN
Unknown error.
|
static int |
INVALID_CLOSE_CODE
The close code is not valid.
|
static int |
INVALID_CONNECTION
Invalid connection field.
|
static int |
INVALID_FRAME
We received an invalid frame.
|
static int |
INVALID_LENGTH
Payload length cannot be greater than 125.
|
static int |
INVALID_SEC_WEBSOCKET_ACCEPT
Missing Sec-WebSocket-Accept header.
|
static int |
INVALID_SEQUENCE
An invalid sequence of fragmented frame arrived.
|
static int |
INVALID_STATUS
The status code is invalid.
|
static int |
INVALID_UPGRADE
Invalid upgrade field.
|
static int |
INVALID_UTF8
We received an UTF8 frame that has an unvalid payload.
|
static MessageLogger |
LOGGER
The message logger.
|
static int |
NOT_FIN
This is not a fin frame.
|
static int |
OPCODE_NOT_MANAGED
We received an OP code that is not managed.
|
static int |
OPENING_HANDSHAKE
Sending the opening handshake.
|
static int |
PING
A ping has been requested.
|
static int |
PONG
A pong has been requested.
|
static int |
RECEIVE
Receive some data.
|
static int |
RECEIVED_BINARY_FRAME
We received a binary frame.
|
static int |
RECEIVED_CLOSE_FRAME
We received a close frame.
|
static int |
RECEIVED_PING_FRAME
We received a ping frame.
|
static int |
RECEIVED_PONG_FRAME
We received a pong frame.
|
static int |
RECEIVED_TEXT_FRAME
We received a text frame.
|
static int |
RECEIVER_FRAME_RECEIVED
One frame has been received.
|
static int |
RECEIVER_START
The receiver is started.
|
static int |
RECEIVER_TERMINATED
If we get here and no exception occurred, it means that the connection has been closed.
|
static int |
RECEIVER_TIMEOUT
This case happens when the OnTimeOutCloser closes the underlying TCP connection.
|
static int |
RESPOND_CLOSING
Respond to a closing handshake.
|
static int |
SEND_BINARY
A send of binary has been requested.
|
static int |
SEND_TEXT
A send of text has been requested.
|
static int |
SENDING
Sending some data.
|
static int |
TIMEOUT
The timeout has been reached.
|
static int |
TIMEOUT_INTERRUPTED
The timeout has been interrupted.
|
static int |
TIMEOUT_NORMAL_CLOSE
The timeout has been closed normally.
|
static int |
TIMEOUT_START
A timeout has been set.
|
static int |
UNSUPPORTED_MASKED
This implementation does not support masked frame.
|
static int |
UNSUPPORTED_VERY_EXTENDED_LENGTH
This implementation does not support very extended length.
|
static int |
VALID_PACKET_CONNECTION_CLOSED
We can receive valid packets if the connection is not in the OPEN state.
|
public static final int ALREADY_CLOSE
public static final MessageBuilder BUILDER
public static final String CATEGORY
public static final int CLOSE
public static final int CLOSE_TCP
public static final int ERROR_UNKNOWN
public static final int INVALID_CLOSE_CODE
public static final int INVALID_CONNECTION
public static final int INVALID_FRAME
public static final int INVALID_LENGTH
public static final int INVALID_SEC_WEBSOCKET_ACCEPT
public static final int INVALID_SEQUENCE
public static final int INVALID_STATUS
public static final int INVALID_UPGRADE
public static final int INVALID_UTF8
public static MessageLogger LOGGER
public static final int NOT_FIN
public static final int OPCODE_NOT_MANAGED
public static final int OPENING_HANDSHAKE
public static final int PING
public static final int PONG
public static final int RECEIVE
public static final int RECEIVED_BINARY_FRAME
public static final int RECEIVED_CLOSE_FRAME
public static final int RECEIVED_PING_FRAME
public static final int RECEIVED_PONG_FRAME
public static final int RECEIVED_TEXT_FRAME
public static final int RECEIVER_FRAME_RECEIVED
public static final int RECEIVER_START
public static final int RECEIVER_TERMINATED
public static final int RECEIVER_TIMEOUT
public static final int RESPOND_CLOSING
public static final int SEND_BINARY
public static final int SEND_TEXT
public static final int SENDING
public static final int TIMEOUT
public static final int TIMEOUT_INTERRUPTED
public static final int TIMEOUT_NORMAL_CLOSE
public static final int TIMEOUT_START
public static final int UNSUPPORTED_MASKED
public static final int UNSUPPORTED_VERY_EXTENDED_LENGTH
public static final int VALID_PACKET_CONNECTION_CLOSED