MCPcopy Create free account
hub / github.com/OpenArkStudio/ARK / Init

Method Init

src/server/master/src/AFCMasterNetModule.cpp:25–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

23namespace ark {
24
25bool AFCMasterNetModule::Init()
26{
27 m_pLogModule = FindModule<AFILogModule>();
28 m_pBusModule = FindModule<AFIBusModule>();
29 m_pNetServiceManagerModule = FindModule<AFINetServiceManagerModule>();
30 m_pTimerModule = FindModule<AFITimerModule>();
31 m_pMsgModule = FindModule<AFIMsgModule>();
32
33 // log timer
34 // m_pTimerModule->AddForeverTimer("master-sub-server-timer", BusID(), 30 * 1000, this,
35 // &AFCMasterNetServerModule::OnTimerLogServer);
36
37 return true;
38}
39
40bool AFCMasterNetModule::PostInit()
41{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected