| 187 | } |
| 188 | |
| 189 | void 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 | |
| 202 | bool AFCNetClientService::AddServerNode(std::shared_ptr<AFConnectionData> data) |
| 203 | { |
nothing calls this directly
no test coverage detected