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

Method toString

libapp2sys/src/main/cpp/udp.h:161–166  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159 std::map<int64_t, std::pair<uint32_t, uint8_t *> *> sessionMap;
160
161 std::string toString() {
162 char buf[512];
163 sprintf(buf, "R[%x %s %s s:%d m:%d]", TOINT(this), sockaddrToString(fromaddr).c_str(), getStatus(status), expectedSeq,
164 (int)sessionMap.size());
165 return (std::string) buf;
166 }
167 } Receiver;
168
169 typedef struct SendPack {

Callers

nothing calls this directly

Calls 2

sockaddrToStringFunction · 0.85
sizeMethod · 0.45

Tested by

no test coverage detected