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

Method processSend

libapp2sys/src/main/cpp/protocol.h:324–329  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322 }
323
324 int64_t processSend(uint32_t funcid, T *r, uint8_t *data, uint32_t len) {//server send
325 remote = *r;
326 int64_t requestId = genRespPack(funcid, RET_OK, 0, data, len, &resp, &respLen);
327 pdbg("processSend funcid:%d, len:%d, remote:%d requestId:%lld, respLen:%d", funcid, len, remote, requestId, respLen);
328 return requestId;
329 }
330
331 // #lizard forgives
332 int64_t processReceive(int uid, T *r, AMCReqHeader *pHead, uint8_t *payload, uint32_t payloadLen, HardCoder *inst) {

Callers 1

onCallbackMethod · 0.80

Calls 1

genRespPackFunction · 0.85

Tested by

no test coverage detected