/* * Run the ola Server */ void *OlaServerThread::Run() { if (m_olad.get()) { m_olad->GetSelectServer()->Execute( ola::NewSingleCallback(this, &OlaServerThread::MarkAsStarted)); m_olad->Run(); m_olad->Shutdown(); } return NULL; }
/* * Stop the OLA server */ void OlaServerThread::Terminate() { if (m_olad.get()) m_olad->GetSelectServer()->Terminate(); }