MCPcopy Create free account
hub / github.com/acl-dev/acl / on_connected

Method on_connected

lib_acl_cpp/samples/connect_manager/mymonitor.cpp:59–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57/////////////////////////////////////////////////////////////////////////////
58
59void mymonitor::on_connected(const acl::check_client& checker, double cost)
60{
61 printf("addr=%s, connected, cost=%.2f\r\n", checker.get_addr(), cost);
62}
63
64void mymonitor::on_refuse(const char* addr, double cost)
65{

Callers 1

open_callbackMethod · 0.45

Calls 1

get_addrMethod · 0.45

Tested by

no test coverage detected