Implement standard TCP packet processing flow display。
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_BASE(0x1000) | Test packet structure | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Packet length | ||
string | Packet body content |
Implement standard UDP packet processing flow display.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_BASE(0x1000) | Test packet structure | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Packet length | ||
string | Packet body content |
Realize the packet integrity detection function of PSS framework.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_AUTOTEST_HEAD(0x5000) | include header message | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
COMMAND_AUTOTEST_NOHEAD(0x5001) | no include header message | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
COMMAND_AUTOTEST_HEADBUFF(0x5002) | include header cache message | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
COMMAND_AUTOTEST_NOHEADBUFF(0x5003) | no include header cache message | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
COMMAND_AUTOTEST_LOGDATA(0x5004) | Test log | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
COMMAND_AUTOTEST_WORKAI(0x5006) | Test workAI | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp |
Realize simple FTP browse and download function for PSS framework.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_LOGIN(0x2000) | Login | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login length | ||
string | Login name | ||
uint8 | Login password length | ||
string | Login password | ||
COMMAND_LOGOUT(0x2001) | exit | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login length | ||
string | Login name | ||
COMMAND_FILELIST(0x2002) | file and path list | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
uint8 | Current path length | ||
string | Current path | ||
COMMAND_FILE_DOWNLOAD(0x2003) | download file | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
uint8 | Current file name length | ||
string | Current file name | ||
uint32 | paacket length | ||
uint32 | Packet sequence number, first 0 | ||
COMMAND_FILE_UPLOAD(0x2004) | upload file | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint64 | Packet timestamp | ||
uint8 | Login name length | ||
string | Login name | ||
uint8 | Current file name length | ||
string | Current file name | ||
uint32 | paacket length | ||
uint32 | Packet sequence number, first 0 | ||
uint32 | File block size | ||
string | File block |
Implement http command parsing support for PSS.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_HTTP_DATA(0xea01) | Http data request protocol packet | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | HttpPacket body content |
Implementation of PSS framework for Kafka interface support.
No instructions received, this function is to demonstrate the integration of Kafka 's consumer thread and PSS, Kafka 's consumer information received and issued.
Realize the interaction between PSS and shared memory, and realize the reading and writing of users through shared memory.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_LOGIN(0x2100) | Login | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
uint8 | password length | ||
string | password | ||
COMMAND_LOGOUT(0x2101) | exit | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
COMMAND_USERINFO(0x2102) | Search user | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Login nameID | ||
COMMAND_SET_USERINFO(0x2103) | set user | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Login nameID | ||
uint32 | user life | ||
uint32 | user magic |
Realize the interaction between PSS and shared memory, and realize the reading and writing of users through shared memory.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_LOGIN(0x2100) | Login | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
uint8 | Password length | ||
string | Password | ||
COMMAND_LOGOUT(0x2101) | exit | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | Login name length | ||
string | Login name | ||
COMMAND_USERINFO(0x2102) | Search user | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Login nameID | ||
COMMAND_SET_USERINFO(0x2103) | Set user | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint32 | Login nameID | ||
uint32 | user life | ||
uint32 | user magic |
Implement call to PSS and Lua scripts.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_BASE(0x1000) | Login | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | params |
Implement call to PSS plug-ins.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_PLUGA(0x2201) | Implement inter-plug-in message notification | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
uint8 | data length | ||
string | data |
Message forwarding between client and server of PSS is realized.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_PROXY(0x1030) | Messages that need to be forwarded to other servers | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params |
Tcp data transmission to PSS is realized.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_PROXY(0x1030) | Messages that need to be forwarded to other servers | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params |
Realize UDP data transmission to PSS.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_PROXY(0x1030) | Messages that need to be forwarded to other servers | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params |
Implements a timer call plug-in to PSS.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_TIMER(0x1100) | Timer call instruction | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params |
Realize the WebSocket message parsing of PSS.
Test message id | message description | Packet information | |
---|---|---|---|
COMMAND_HANDIN(0xee01) | websocket message header validation | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params | ||
Test message id | message description | Packet information | |
COMMAND_DATAIN(0xee02) | websocket message body | Attribute | description |
uint16 | Packet version number | ||
uint16 | Packet command id | ||
uint32 | Packet length | ||
string(32 chars) | Packet session | ||
string | Data params |
Implements the call to the zookeeper message by PSS.
No packets, just realize the discovery function of zookeeper.