while (($nodeInstance->isHubActive()) && ($handlerInstance->hasTasksLeft())) {
// Handle all tasks here
$handlerInstance->handleTasks();
-
- // Handle the listeners
- // @TODO We may have to catch some exceptions here
- //$nodeInstance->getListenerPoolInstance()->handleListenerPool();
} // END - while
// Debug message