Searched refs:pcline (Results 1 – 2 of 2) sorted by relevance
/test/testfwk/developer_test/aw/cxx/distributed/ |
D | distributed_agent.cpp | 169 auto pcline = reinterpret_cast<DistributedMsg *>(buff); in DoCmdServer() local 170 pcline->cmdTestType = ntohs(pcline->cmdTestType); in DoCmdServer() 171 pcline->len = ntohs(pcline->len); in DoCmdServer() 172 … HiLog::Info(DistributedAgent::LABEL, "test agent get message type:%d .\n", pcline->cmdTestType); in DoCmdServer() 173 …if (pcline->len > 0 && static_cast<unsigned long>(pcline->len) <= (MAX_BUFF_LEN - DST_COMMAND_HEAD… in DoCmdServer() 174 … receiveLen = recv(clientSockFd_, pcline->alignmentCmd, static_cast<size_t>(pcline->len), 0); in DoCmdServer() 175 … HiLog::Info(DistributedAgent::LABEL, "agent get message cmd=%s .\n", pcline->alignmentCmd); in DoCmdServer() 176 switch (pcline->cmdTestType) { in DoCmdServer() 179 unsigned int cmdLen = ntohs(*reinterpret_cast<int *>(pcline->alignmentCmd)); in DoCmdServer() 183 ret = memcpy_s(pAlignmentCmd, cmdLen + 1, pcline->alignmentCmd + rlen, cmdLen); in DoCmdServer() [all …]
|
D | distributed_agent.h | 55 virtual void OnNotifyImf(DistributedMsg *pcline);
|