| 14 | |
| 15 | |
| 16 | void rpc_manager::init(acl::aio_handle* handle, int max_threads /* = 10 */, |
| 17 | const char* rpc_addr /* = NULL */) |
| 18 | { |
| 19 | handle_ = handle; |
| 20 | |
| 21 | // ���� rpc ������� |
| 22 | service_ = new acl::rpc_service(max_threads); |
| 23 | // ����Ϣ���� |
| 24 | if (service_->open(handle_, rpc_addr) == false) |
| 25 | logger_fatal("open service error: %s", acl::last_serror()); |
| 26 | } |
| 27 | |
| 28 | void rpc_manager::finish() |
| 29 | { |
no test coverage detected