| 18 | // ���������̣�������ijһ�����߳̿ռ��� |
| 19 | |
| 20 | void mymonitor::sio_check(acl::check_client& checker, |
| 21 | acl::socket_stream& conn) |
| 22 | { |
| 23 | // ͬ�������� |
| 24 | check_sync check; |
| 25 | if (proto_ == "http") |
| 26 | check.sio_check_http(checker, conn); |
| 27 | else if (proto_ == "pop3") |
| 28 | check.sio_check_pop3(checker, conn); |
| 29 | else |
| 30 | { |
| 31 | printf("unknown protocol: %s\r\n", proto_.c_str()); |
| 32 | checker.set_alive(true); |
| 33 | } |
| 34 | } |
| 35 | |
| 36 | ///////////////////////////////////////////////////////////////////////////// |
| 37 | // �����������̣������ڼ�����̵߳Ŀռ��� |
nothing calls this directly
no test coverage detected