Fix NetworkOPs timer to use JobQueue (2 new JobTypes added)

This commit is contained in:
Vinnie Falco
2013-08-23 09:40:00 -07:00
parent 4ececd0204
commit c21a53a3ea
3 changed files with 42 additions and 89 deletions

View File

@@ -92,11 +92,15 @@ void NetworkOPs::onDeadlineTimer (DeadlineTimer& timer)
{
if (timer == m_netTimer)
{
processNetTimer ();
getApp().getJobQueue ().addJob (jtNETOP_TIMER, "NetworkOPs::processNetTimer",
BIND_TYPE (&NetworkOPs::processNetTimer, this));
//processNetTimer ();
}
else if (timer == m_clusterTimer)
{
doClusterReport();
getApp().getJobQueue ().addJob (jtNETOP_CLUSTER, "NetworkOPs::doClusterReport",
BIND_TYPE (&NetworkOPs::processNetTimer, this));
//doClusterReport();
}
}