MCPcopy Create free account
hub / github.com/RGAA-Software/GoDesk / GetTotalConnectedClientsCount

Method GetTotalConnectedClientsCount

src/render/plugins/plugin_manager.cpp:433–439  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

431 }
432
433 int PluginManager::GetTotalConnectedClientsCount() {
434 int total_size = 0;
435 VisitNetPlugins([&](GrNetPlugin* plugin) {
436 total_size += plugin->GetConnectedClientsCount();
437 });
438 return total_size;
439 }
440
441 std::vector<std::shared_ptr<GrConnectedClientInfo>> PluginManager::GetConnectedClientsInfo() {
442 std::vector<std::shared_ptr<GrConnectedClientInfo>> clients_info;

Callers 3

On1SecondMethod · 0.95
HasConnectedPeerMethod · 0.80
AsProtoMessageMethod · 0.80

Calls 1

Tested by

no test coverage detected