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

Method open_callback

lib_acl_cpp/src/connpool/check_client.cpp:41–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41bool check_client::open_callback()
42{
43 set_alive(true);
44 struct timeval end;
45 gettimeofday(&end, NULL);
46 double cost = stamp_sub(end, begin_);
47
48 timer_.get_monitor().on_connected(*this, cost);
49 timer_.get_monitor().on_open(*this);
50 return true;
51}
52
53void check_client::close_callback()
54{

Callers

nothing calls this directly

Calls 4

gettimeofdayFunction · 0.50
stamp_subFunction · 0.50
on_connectedMethod · 0.45
on_openMethod · 0.45

Tested by

no test coverage detected