| 25 | namespace ark { |
| 26 | |
| 27 | AFCNetClientService::AFCNetClientService(AFPluginManager* p) |
| 28 | : m_pPluginManager(p) |
| 29 | { |
| 30 | m_pNetServiceManagerModule = m_pPluginManager->FindModule<AFINetServiceManagerModule>(); |
| 31 | m_pBusModule = m_pPluginManager->FindModule<AFIBusModule>(); |
| 32 | m_pMsgModule = m_pPluginManager->FindModule<AFIMsgModule>(); |
| 33 | m_pLogModule = m_pPluginManager->FindModule<AFILogModule>(); |
| 34 | |
| 35 | ARK_ASSERT_RET_NONE(m_pNetServiceManagerModule != nullptr && m_pBusModule != nullptr && m_pMsgModule != nullptr && |
| 36 | m_pLogModule != nullptr); |
| 37 | |
| 38 | consistent_hashmap_.set_vnode_count(EConstDefine_DefaultWeight); |
| 39 | } |
| 40 | |
| 41 | bool AFCNetClientService::StartClient(const AFHeadLength head_len, const int& target_bus_id, const AFEndpoint& endpoint) |
| 42 | { |
nothing calls this directly
no test coverage detected