public interface Constants
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
ATT_KEY_CHANNEL
附件键-通道
|
static int |
CLOSE11_PROTOCOL
因协议指令关闭
|
static int |
CLOSE12_PROTOCOL_ILLEGAL
因协议非法关闭
|
static int |
CLOSE19_PROTOCOL_USER
因协议指令用户主动关闭(不可再重连)
|
static int |
CLOSE21_ERROR
因异常关闭
|
static int |
CLOSE22_RECONNECT
因重连关闭
|
static int |
CLOSE28_OPEN_FAIL
因打开失败关闭
|
static int |
CLOSE29_USER
因用户主动关闭(不可再重连)
|
static ByteBuffer |
DEF_DATA
默认数据(占位)
|
static String |
DEF_EVENT
默认事件(占位)
|
static String |
DEF_META_STRING
默认元信息字符串(占位)
|
static int |
DEF_PORT
默认端口
|
static String |
DEF_SID
默认流id(占位)
|
static int |
DEMANDS_MULTIPLE
多需求
|
static int |
DEMANDS_SINGLE
单需求
|
static int |
DEMANDS_ZERO
零需求
|
static int |
MAX_SIZE_DATA
数据长度最大限制(也是分片长度最大限制)
|
static int |
MAX_SIZE_EVENT
事件长度最大限制
|
static int |
MAX_SIZE_FRAME
帧长度最大限制
|
static int |
MAX_SIZE_META_STRING
元信息串长度最大限制
|
static int |
MAX_SIZE_SID
流ID长度最大限制
|
static int |
MIN_FRAGMENT_SIZE
分片长度最小限制
|
static final ByteBuffer DEF_DATA
static final int DEF_PORT
static final int CLOSE11_PROTOCOL
static final int CLOSE12_PROTOCOL_ILLEGAL
static final int CLOSE19_PROTOCOL_USER
static final int CLOSE21_ERROR
static final int CLOSE22_RECONNECT
static final int CLOSE28_OPEN_FAIL
static final int CLOSE29_USER
static final int MAX_SIZE_SID
static final int MAX_SIZE_EVENT
static final int MAX_SIZE_META_STRING
static final int MAX_SIZE_DATA
static final int MAX_SIZE_FRAME
static final int MIN_FRAGMENT_SIZE
static final int DEMANDS_ZERO
static final int DEMANDS_SINGLE
static final int DEMANDS_MULTIPLE
Copyright © 2024. All rights reserved.