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

Method LogServerInfo

src/plugin/net/src/AFCNetClientService.cpp:171–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169}
170
171void AFCNetClientService::LogServerInfo()
172{
173 LogServerInfo("This is a client, begin to print Server Info----------------------------------");
174
175 for (auto iter : real_connections_)
176 {
177 auto connection_data = iter.second;
178 if (connection_data != nullptr)
179 {
180 std::string info = ARK_FORMAT("TargetBusID={} State={} url={}", connection_data->server_bus_id_,
181 connection_data->net_state_, connection_data->endpoint_.ToString());
182 LogServerInfo(info);
183 }
184 }
185
186 LogServerInfo("This is a client, end to print Server Info----------------------------------");
187}
188
189void AFCNetClientService::KeepAlive(std::shared_ptr<AFConnectionData> pServerData)
190{

Callers

nothing calls this directly

Calls 1

ToStringMethod · 0.45

Tested by

no test coverage detected