MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / KeepAlive

Method KeepAlive

src/plugin/net/src/AFCNetClientService.cpp:189–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187}
188
189void AFCNetClientService::KeepAlive(std::shared_ptr<AFConnectionData> pServerData)
190{
191 if ((pServerData->last_active_time_ + 10) > m_pPluginManager->GetNowTime())
192 {
193 return;
194 }
195
196 pServerData->last_active_time_ = m_pPluginManager->GetNowTime();
197
198 KeepReport(pServerData);
199 LogServerInfo();
200}
201
202bool AFCNetClientService::AddServerNode(std::shared_ptr<AFConnectionData> data)
203{

Callers

nothing calls this directly

Calls 1

GetNowTimeMethod · 0.45

Tested by

no test coverage detected