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

Method sio_check

lib_acl_cpp/samples/connect_manager/mymonitor.cpp:20–34  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18// ���������̣�������ijһ�����߳̿ռ���
19
20void 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// �����������̣������ڼ�����̵߳Ŀռ���

Callers

nothing calls this directly

Calls 4

sio_check_httpMethod · 0.80
sio_check_pop3Method · 0.80
c_strMethod · 0.45
set_aliveMethod · 0.45

Tested by

no test coverage detected