| 39 | } |
| 40 | |
| 41 | bool 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 | |
| 53 | void check_client::close_callback() |
| 54 | { |
nothing calls this directly
no test coverage detected