public interface Constants
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
CLOSE1000_PROTOCOL_CLOSE_STARTING
因协议关闭开始(安全关闭)
|
static int |
CLOSE1001_PROTOCOL_CLOSE
因协议指令关闭
|
static int |
CLOSE1002_PROTOCOL_ILLEGAL
因协议非法关闭
|
static int |
CLOSE2001_ERROR
因异常关闭
|
static int |
CLOSE2002_RECONNECT
因重连关闭
|
static int |
CLOSE2003_DISCONNECTION
因连接断开
|
static int |
CLOSE2008_OPEN_FAIL
因打开失败关闭
|
static int |
CLOSE2009_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 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
static final int CLOSE1000_PROTOCOL_CLOSE_STARTING
static final int CLOSE1001_PROTOCOL_CLOSE
static final int CLOSE1002_PROTOCOL_ILLEGAL
static final int CLOSE2001_ERROR
static final int CLOSE2002_RECONNECT
static final int CLOSE2003_DISCONNECTION
static final int CLOSE2008_OPEN_FAIL
static final int CLOSE2009_USER
Copyright © 2024. All rights reserved.