// Get a new task handler instance
$handlerInstance = ObjectFactory::createObjectByConfiguredName('task_handler_class');
+ // Prepare a package-tags initialization task for the listeners
+ $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_tags_init_task_class');
+
+ // Register it
+ $handlerInstance->registerTask('package_tags_init', $taskInstance);
+
// Generate socket listener task
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_socket_listener_task_class');
// Register it as well
$handlerInstance->registerTask('dht_publication', $taskInstance);
- // Prepare a package-tags initialization task for the listeners
- $taskInstance = ObjectFactory::createObjectByConfiguredName('node_package_tags_init_task_class');
-
- // Register it
- $handlerInstance->registerTask('package_tags_init', $taskInstance);
-
// Prepare a self-test task for the listeners
$taskInstance = ObjectFactory::createObjectByConfiguredName('node_selfconnect_task_class');
// Should we start now?
if ($diff < $currentTask['task_startup_delay']) {
// Skip this silently
- /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK-HANDLER[' . __LINE__ . ']: Task ' . $currentTask['id'] . ' not started: diff=' . $diff . ',task_startup_delay=' . $currentTask['task_startup_delay']);
+ //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK-HANDLER[' . __LINE__ . ']: Task ' . $currentTask['id'] . ' not started: diff=' . $diff . ',task_startup_delay=' . $currentTask['task_startup_delay']);
return;
} // END - if