public class Attributes
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
WS_CONNECTION_TIMEOUT
The timeout in milliseconds for each connection attempt at client.
|
static java.lang.String |
WS_ECHO
The pong message to ask client to send a dummy ping message.
|
static java.lang.String |
WS_EP
The name of an item which stores the websocket serverpush class in desktop storage.
|
static java.lang.String |
WS_HANDSHAKE_REQUEST
The name of an attribute which stores the handshake request of the websocket connection in desktop.
|
static java.lang.String |
WS_HANDSHAKE_RESPONSE
The name of an attribute which stores the handshake response of the websocket connection in desktop.
|
static int |
WS_OK_STATUS
A status number representing the pong message is successful in websocket connection.
|
static java.lang.String |
WS_PING
The ping message to ask client to send a pong message.
|
static java.lang.String |
WS_PING_INTERVAL_SECOND
The ping mechanism interval in second. <= 0 means turned off.
|
static java.lang.String |
WS_PING_SCHEDULING_POOL_SIZE
The heartbeat mechanism thread pool size.
|
static java.lang.String |
WS_PING_TIMEOUT_SECOND
The heartbeat mechanism timeout in second (only
WS_PING_INTERVAL_SECOND is greater than 0)
Default: 20 seconds. |
static java.lang.String |
WS_PONG
The pong message sent by client.
|
static java.lang.String |
WS_RECONNECTION
The websocket client reconnection whether is enabled or not.
|
static java.lang.String |
WS_RECONNECTION_ATTEMPTS
The number of reconnection attempts before giving up for the websocket client.
|
static java.lang.String |
WS_RECONNECTION_DELAY
The initial delay before reconnection in milliseconds for the websocket client.
|
static java.lang.String |
WS_RECONNECTION_DELAY_MAX
The maximum delay between two reconnection attempts for the websocket client.
|
static int |
WS_SERVER_ERROR_STATUS
A status number representing a server error is occurred when a pong message is received in websocket connection.
|
Constructor and Description |
---|
Attributes() |
public static final java.lang.String WS_HANDSHAKE_REQUEST
public static final java.lang.String WS_HANDSHAKE_RESPONSE
public static final java.lang.String WS_EP
public static final int WS_OK_STATUS
public static final int WS_SERVER_ERROR_STATUS
public static final java.lang.String WS_ECHO
public static final java.lang.String WS_PING_INTERVAL_SECOND
public static final java.lang.String WS_PING_TIMEOUT_SECOND
WS_PING_INTERVAL_SECOND
is greater than 0)
Default: 20 seconds.public static final java.lang.String WS_PING_SCHEDULING_POOL_SIZE
public static final java.lang.String WS_CONNECTION_TIMEOUT
public static final java.lang.String WS_RECONNECTION
public static final java.lang.String WS_RECONNECTION_ATTEMPTS
public static final java.lang.String WS_RECONNECTION_DELAY
public static final java.lang.String WS_RECONNECTION_DELAY_MAX
public static final java.lang.String WS_PING
public static final java.lang.String WS_PONG
Copyright © 2005-2022 Potix Corporation. All Rights Reserved.