MCPcopy Create free account
hub / github.com/e2wugui/zeze / TryStartKeepAliveCheckTimer

Method TryStartKeepAliveCheckTimer

cxx/Net.cpp:1045–1050  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1043 }
1044
1045 void Service::TryStartKeepAliveCheckTimer()
1046 {
1047 auto period = GetKeepCheckPeriod();
1048 if (period > 0)
1049 SetTimeout(std::bind(&Service::CheckKeepAlive, this), period);
1050 }
1051
1052 void Service::CheckKeepAlive()
1053 {

Callers 4

TcpSocketMethod · 0.80
TcpSocketMethod · 0.80
SocketMethod · 0.80
AsyncSocketMethod · 0.80

Calls 1

SetTimeoutFunction · 0.85

Tested by

no test coverage detected