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

Method on_accept

lib_acl_cpp/src/ipc/rpc.cpp:262–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

260}
261
262void rpc_service::on_accept(aio_socket_stream* client)
263{
264 // �����������������߳���Ϣ�� IPC ���Ӷ���
265 ipc_client* ipc = NEW rpc_client(magic_);
266 ipc->open(client);
267
268 // ������Ϣ�ص�����
269 ipc->append_message(RPC_MSG);
270 ipc->append_message(RPC_SIG);
271 ipc->wait();
272}
273
274#ifdef ACL_WINDOWS
275void rpc_service::win32_proc(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lParam)

Callers 2

service_mainMethod · 0.45
service_mainMethod · 0.45

Calls 4

append_messageMethod · 0.80
rpc_clientClass · 0.70
openMethod · 0.45
waitMethod · 0.45

Tested by

no test coverage detected