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

Method toString

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

Source from the content-addressed store, hash-verified

126 }
127
128 std::string toString() {
129 char buf[512];
130 sprintf(buf, "T[%x %s to:%d tc:%d %s]", TOINT(this) , sockaddrToString(toaddr).c_str(), TOINT(timeout - getMillisecond()),
131 tryCount,
132 udpPkg ? udpPkg->toString().c_str() : "pkg:NULL");
133 return (std::string) buf;
134 }
135 } TimeoutEvent;
136
137

Callers

nothing calls this directly

Calls 3

sockaddrToStringFunction · 0.85
getMillisecondFunction · 0.85
toStringMethod · 0.45

Tested by

no test coverage detected