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

Method rpc_onover

lib_acl_cpp/samples/master/master_http_rpc/http_rpc.cpp:92–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92void http_rpc::rpc_onover()
93{
94 // ���� rpc ����
95 rpc_del();
96
97 if (keep_alive_)
98 {
99 rpc_read_wait_add();
100
101 // ����첽���Ƿ�ɶ�
102 client_->read_wait(10);
103 }
104 else
105 // �ر��첽������
106 client_->close();
107}

Callers

nothing calls this directly

Calls 4

read_waitMethod · 0.80
rpc_delFunction · 0.70
rpc_read_wait_addFunction · 0.70
closeMethod · 0.45

Tested by

no test coverage detected