]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php
Merge branch 'master' of git.mxchange.org:/var/cache/git/repos/hub
[hub.git] / application / hub / main / filter / task / node / class_NodeTaskHandlerInitializerFilter.php
index e2d1e1a39f560614cdf67cbfadb1d83c87af0a32..9f540061304065de8a4bb8f8e748a76edc0298d0 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A TaskHandlerInitializer filter for hubs
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -103,6 +103,18 @@ class NodeTaskHandlerInitializerFilter extends BaseNodeFilter implements Filtera
                // Register it as well
                $handlerInstance->registerTask('dht_query', $taskInstance);
 
+               // Generate DHT publication-check task
+               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_dht_publication_check_task_class');
+
+               // Register it as well
+               $handlerInstance->registerTask('dht_check_publication', $taskInstance);
+
+               // Generate DHT publication task
+               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_dht_publication_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');