public interface ProtocolConstants
| 限定符和类型 | 字段和说明 |
|---|---|
static byte |
CONFIGURED_CODEC
Configured codec by user, default is SEATA
|
static byte |
CONFIGURED_COMPRESSOR
Configured compressor by user, default is NONE
|
static byte[] |
MAGIC_CODE_BYTES
Magic code
|
static int |
MAX_FRAME_LENGTH
Max frame length
|
static byte |
MSGTYPE_HEARTBEAT_REQUEST
Message type: Heartbeat Request
|
static byte |
MSGTYPE_HEARTBEAT_RESPONSE
Message type: Heartbeat Response
|
static byte |
MSGTYPE_RESPONSE
Message type: Response
|
static byte |
MSGTYPE_RESQUEST_ONEWAY
Message type: Request which no need response
|
static byte |
MSGTYPE_RESQUEST_SYNC
Message type: Request
|
static int |
V1_HEAD_LENGTH
HEAD_LENGTH of protocol v1
|
static byte |
VERSION
Protocol version
|
static final byte[] MAGIC_CODE_BYTES
static final byte VERSION
static final int MAX_FRAME_LENGTH
static final int V1_HEAD_LENGTH
static final byte MSGTYPE_RESQUEST_SYNC
static final byte MSGTYPE_RESPONSE
static final byte MSGTYPE_RESQUEST_ONEWAY
static final byte MSGTYPE_HEARTBEAT_REQUEST
static final byte MSGTYPE_HEARTBEAT_RESPONSE
static final byte CONFIGURED_CODEC
SerializerType.SEATAstatic final byte CONFIGURED_COMPRESSOR
CompressorType.NONECopyright © 2020 Seata. All rights reserved.