MCPcopy Create free account
hub / github.com/Tencent/Hardcoder / AMCReqHeader

Class AMCReqHeader

libapp2sys/src/main/cpp/header.h:23–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21uint16_t HEADER_VERSION = HEADER_PROTOCAL_VERSION;
22
23typedef struct AMCReqHeader {
24 uint32_t begin; //包头其起始字段
25 uint16_t version; //协议版本
26 uint16_t funcid; //请求对应的function ID
27 uint32_t bodylen; //包体序列化数据长度
28 int64_t requestid; //当前请求包ID
29 uint32_t callertid; //上层JNI调用者所在线程ID
30 int64_t timestamp; //当前请求时间戳
31
32}__attribute__ ((packed)) AMCReqHeader;
33
34
35typedef struct AMCReqHeaderV2: AMCReqHeader{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected