]> git.mxchange.org Git - hub.git/commitdiff
Renamed filter (no self_announcement, just plain announcement)
authorRoland Häder <roland@mxchange.org>
Sat, 2 Feb 2013 00:18:35 +0000 (00:18 +0000)
committerRoland Häder <roland@mxchange.org>
Sat, 2 Feb 2013 00:18:35 +0000 (00:18 +0000)
31 files changed:
.gitattributes
application/hub/config.php
application/hub/main/factories/dht/class_DhtObjectFactory.php
application/hub/main/filter/activation/node/class_NodeActivationAnnouncementFilter.php [new file with mode: 0644]
application/hub/main/filter/activation/node/class_NodeActivationSelfAnnouncementFilter.php
application/hub/main/nodes/list/class_HubListNode.php
application/hub/main/nodes/master/class_HubMasterNode.php
application/hub/main/nodes/regular/class_HubRegularNode.php
application/hub/main/tasks/apt-proxy/class_
application/hub/main/tasks/apt-proxy/class_AptProxyListenerTask.php
application/hub/main/tasks/chat/class_
application/hub/main/tasks/chat/class_ChatTelnetListenerTask.php
application/hub/main/tasks/class_
application/hub/main/tasks/cruncher/class_
application/hub/main/tasks/cruncher/class_CruncherKeyProducerTask.php
application/hub/main/tasks/cruncher/class_CruncherTestUnitProducerTask.php
application/hub/main/tasks/cruncher/class_CruncherWorkUnitFetcherTask.php
application/hub/main/tasks/idle/class_IdleLoopTask.php
application/hub/main/tasks/network/class_NetworkPackageReaderTask.php
application/hub/main/tasks/network/class_NetworkPackageWriterTask.php
application/hub/main/tasks/node/announcement/class_NodeAnnouncementTask.php
application/hub/main/tasks/node/chunks/class_NodeChunkAssemblerTask.php
application/hub/main/tasks/node/class_Node
application/hub/main/tasks/node/decoder/class_NodePackageDecoderTask.php
application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php
application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php
application/hub/main/tasks/node/listener/class_NodeSocketListenerTask.php
application/hub/main/tasks/node/ping/class_NodePingTask.php
application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php
application/hub/main/tasks/node/update/class_NodeUpdateCheckTask.php
docs/TODOs.txt

index aff2770db57f76c6c888104496ec5968f3e3bbb2..c45b21074a21b72349c947375e226cba0a78d268 100644 (file)
@@ -276,6 +276,7 @@ application/hub/main/factories/tags/class_PackageTagsFactory.php svneol=native#t
 application/hub/main/filter/.htaccess -text svneol=unset#text/plain
 application/hub/main/filter/activation/.htaccess -text svneol=unset#text/plain
 application/hub/main/filter/activation/node/.htaccess svneol=native#text/plain
+application/hub/main/filter/activation/node/class_NodeActivationAnnouncementFilter.php svneol=native#text/plain
 application/hub/main/filter/activation/node/class_NodeActivationSelfAnnouncementFilter.php svneol=native#text/plain
 application/hub/main/filter/apt-proxy/.htaccess svneol=native#text/plain
 application/hub/main/filter/apt-proxy/class_AptProxyInitializationFilter.php svneol=native#text/plain
index 3649a749251fdaef9cef61a1b1921c27a8e1d3ec..d79f9f1ad4c94af1f48ca4f5bf52e3d72397ae1d 100644 (file)
@@ -156,8 +156,8 @@ $cfg->setConfigEntry('node_initializer_filter', 'NodeInitializationFilter');
 // CFG: NODE-ACTIVATION-TASK-HANDLER-INITIALIZER-FILTER
 $cfg->setConfigEntry('node_activation_task_handler_initializer_filter', 'NodeTaskHandlerInitializerFilter');
 
-// CFG: NODE-ACTIVATION-SELF-ANNOUNCEMENT-TASK-FILTER
-$cfg->setConfigEntry('node_activation_self_announcement_task_filter', 'NodeActivationSelfAnnouncementFilter');
+// CFG: NODE-ACTIVATION-ANNOUNCEMENT-TASK-FILTER
+$cfg->setConfigEntry('node_activation_announcement_task_filter', 'NodeActivationAnnouncementFilter');
 
 // CFG: NODE-WELCOME-TEASER-FILTER
 $cfg->setConfigEntry('node_welcome_teaser_filter', 'NodeWelcomeTeaserFilter');
@@ -441,14 +441,14 @@ $cfg->setConfigEntry('task_self_connect_interval_delay', 1000*60*30);
 // CFG: TASK-SELF-CONNECT-MAX-RUNS
 $cfg->setConfigEntry('task_self_connect_max_runs', 0);
 
-// CFG: TASK-SELF-ANNOUNCEMENT-STARTUP-DELAY
-$cfg->setConfigEntry('task_self_announcement_startup_delay', 10000);
+// CFG: TASK-ANNOUNCEMENT-STARTUP-DELAY
+$cfg->setConfigEntry('task_announcement_startup_delay', 10000);
 
-// CFG: TASK-SELF-ANNOUNCEMENT-INTERVAL-DELAY
-$cfg->setConfigEntry('task_self_announcement_interval_delay', 1000);
+// CFG: TASK-ANNOUNCEMENT-INTERVAL-DELAY
+$cfg->setConfigEntry('task_announcement_interval_delay', 1000);
 
-// CFG: TASK-SELF-ANNOUNCEMENT-MAX-RUNS
-$cfg->setConfigEntry('task_self_announcement_max_runs', 1);
+// CFG: TASK-ANNOUNCEMENT-MAX-RUNS
+$cfg->setConfigEntry('task_announcement_max_runs', 1);
 
 // CFG: TASK-UPDATE-CHECK-STARTUP-DELAY
 $cfg->setConfigEntry('task_update_check_startup_delay', 1000*60*60*6);
index 535e8588985a8b045d83d196760e6f84f5599756..c4009be2c6171a4988fd9f53ae994cc136db65d9 100644 (file)
@@ -35,7 +35,7 @@ class DhtObjectFactory extends ObjectFactory {
        /**
         * Returns a singleton (registry-based) DHT object instance
         *
-        * @param       $nodeInstance           An instance of a NodeHelper class
+        * @param       $nodeInstance   An instance of a NodeHelper class
         * @return      $dhtInstance    An instance of a DHT object class
         */
        public static final function createDhtObjectInstance (NodeHelper $nodeInstance) {
diff --git a/application/hub/main/filter/activation/node/class_NodeActivationAnnouncementFilter.php b/application/hub/main/filter/activation/node/class_NodeActivationAnnouncementFilter.php
new file mode 100644 (file)
index 0000000..564f85b
--- /dev/null
@@ -0,0 +1,68 @@
+<?php
+/**
+ * An Announcement filter for hub activation
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.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
+ *
+ * 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
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+class NodeActivationAnnouncementFilter extends BaseNodeFilter implements Filterable {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
+       /**
+        * Creates an instance of this filter class
+        *
+        * @return      $filterInstance         An instance of this filter class
+        */
+       public static final function createNodeActivationAnnouncementFilter () {
+               // Get a new instance
+               $filterInstance = new NodeActivationAnnouncementFilter();
+
+               // Return the instance
+               return $filterInstance;
+       }
+
+       /**
+        * Executes the filter with given request and response objects
+        *
+        * @param       $requestInstance        An instance of a class with an Requestable interface
+        * @param       $responseInstance       An instance of a class with an Responseable interface
+        * @return      void
+        */
+       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
+               // Get task handler instance
+               $handlerInstance = Registry::getRegistry()->getInstance('task');
+
+               // Prepare a self-test task for the listeners
+               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_announcement_task_class');
+
+               // Register it
+               $handlerInstance->registerTask('announcement', $taskInstance);
+       }
+}
+
+// [EOF]
+?>
index a272daa256bf1e1a24aab4d5e626dcdf6467478a..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,68 +1,3 @@
 <?php
-/**
- * A SelfAnnouncement filter for hub activation
- *
- * @author             Roland Haeder <webmaster@ship-simu.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
- *
- * 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
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-class NodeActivationSelfAnnouncementFilter extends BaseNodeFilter implements Filterable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this filter class
-        *
-        * @return      $filterInstance         An instance of this filter class
-        */
-       public static final function createNodeActivationSelfAnnouncementFilter () {
-               // Get a new instance
-               $filterInstance = new NodeActivationSelfAnnouncementFilter();
-
-               // Return the instance
-               return $filterInstance;
-       }
-
-       /**
-        * Executes the filter with given request and response objects
-        *
-        * @param       $requestInstance        An instance of a class with an Requestable interface
-        * @param       $responseInstance       An instance of a class with an Responseable interface
-        * @return      void
-        */
-       public function execute (Requestable $requestInstance, Responseable $responseInstance) {
-               // Get task handler instance
-               $handlerInstance = Registry::getRegistry()->getInstance('task');
-
-               // Prepare a self-test task for the listeners
-               $taskInstance = ObjectFactory::createObjectByConfiguredName('node_announcement_task_class');
-
-               // Register it
-               $handlerInstance->registerTask('self_announcement', $taskInstance);
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
index 010c497342512b94294c12c7d71a420bc8036f6f..cd0e7fa6662935aa36cb2ab66310cfb9748a4f3f 100644 (file)
@@ -74,7 +74,7 @@ class HubListNode extends BaseHubNode implements NodeHelper, Registerable {
                $controllerInstance = $applicationInstance->getControllerInstance();
 
                // Self-announcement task
-               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_self_announcement_task_filter'));
+               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter'));
 
                // @TODO Add some filters here
                $this->partialStub('Add some filters here.');
index 23124cc7e086b50cd88e717b9d139ed83cd6bb30..2f3f2261a33287692d348b4e75a42df49d27eb22 100644 (file)
@@ -78,7 +78,7 @@ class HubMasterNode extends BaseHubNode implements NodeHelper, Registerable {
                $controllerInstance = $applicationInstance->getControllerInstance();
 
                // Self-announcement task
-               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_self_announcement_task_filter'));
+               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter'));
 
                // @TODO Add some filters here
                $this->partialStub('Add some filters here.');
index 13c99aa6084c9e88fdd8673b2ffd47047d2eb961..fca019aadf332b2f831fdfda10d846cc4d840228 100644 (file)
@@ -74,7 +74,7 @@ class HubRegularNode extends BaseHubNode implements NodeHelper, Registerable {
                $controllerInstance = $applicationInstance->getControllerInstance();
 
                // Self-announcement task
-               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_self_announcement_task_filter'));
+               $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter'));
 
                // @TODO Add some filters here
                $this->partialStub('Add some filters here.');
index 7246337c1ce05743457a0e6b8d503b8cac53a05b..19f7134cae7c76702e569cf8b2a66a87aeac86d6 100644 (file)
@@ -46,7 +46,7 @@ class AptProxy???Task extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 5d49f2c8870c3266c91e1efe1cab656cb2168ffb..695dce0bf3eb4f03e212f387813e223ebec37346 100644 (file)
@@ -46,11 +46,10 @@ class AptProxyListenerTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 4877bb668919330f9bc7197b33c8ea3c075f0e35..462ea82fc938d50cc4833bb2f19e0fb9fb134b74 100644 (file)
@@ -46,7 +46,7 @@ class Chat???Task extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index f33e33d7ac0988056371f7dca2badcbca7201177..d29f835f29481bd4cd1deec5a9b7d1629e783230 100644 (file)
@@ -46,11 +46,10 @@ class ChatTelnetListenerTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 5d09faf03c8a9db40ccf6a8bd19ab31934ee600d..ac7a6707f7711cd8126e36de41b38ea24224c837 100644 (file)
@@ -46,7 +46,7 @@ class !!!???Task extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 14e30098080298ba06261e08eac2a2a1eae495d0..11bc3579dec2ebe1c765d069bc1cdebdbb89695d 100644 (file)
@@ -46,7 +46,7 @@ class Cruncher???Task extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 550f3b5181f84adebc0cdfd51c7ea9ebe742b917..92277d73999f747141c355b0a1b2c740908248fa 100644 (file)
@@ -46,11 +46,10 @@ class CruncherKeyProducerTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 41dedf414a03dabf7aed6e1970181d9d267798dc..1f712b7b31a668dde7fb260f4bca80af455decc8 100644 (file)
@@ -46,11 +46,10 @@ class CruncherTestUnitProducerTask extends BaseTask implements Taskable, Visitab
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 126fe0ecdf7ae92a5062dc50ed535ebc23f0ea15..c2559e6567c0877f9d32421da37d2fd3ab544b56 100644 (file)
@@ -47,11 +47,10 @@ class CruncherWorkUnitFetcherTask extends BaseTask implements Taskable, Visitabl
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index ceaa7b454f87593f7a9cccddaf7d2040f1d4a865..acb9dba1f088169e99c4f5182a633c0a1b314e0b 100644 (file)
@@ -46,7 +46,7 @@ class IdleLoopTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 4a9537d5baee378fdeb42e309408e557dac899fe..6a008d0708debc6f543d466ba65c633f7acf0cf1 100644 (file)
@@ -56,7 +56,7 @@ class NetworkPackageReaderTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index f56cda660876672fdde0f9f6e138c102ff225fb6..ef9a70ef42d2e23deb64d194d4c4a8d5332298ce 100644 (file)
@@ -52,7 +52,7 @@ class NetworkPackageWriterTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 2d0e1e3d68ed7195af08d60691eb9bd9b8b27039..9b4fd13ab8133a1704eec01e5911c4d06f5052b0 100644 (file)
@@ -46,7 +46,7 @@ class NodeAnnouncementTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 5a6a096307656958002c8be1d8ed64d75e7ddd8b..2220c2b9b5662fffc1648a36c88949cf7ef83921 100644 (file)
@@ -52,7 +52,7 @@ class NodeChunkAssemblerTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 154e8f43699d9f3202e103ea40e84ba37e00910a..3c79af08e6f7dcaba33bf8866f7b6f77c8db59d4 100644 (file)
@@ -46,7 +46,7 @@ class Node???Task extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 4896a4943b941758f5a16910cebcdd099ffb974d..44f717e5e0707104a169baa007dcfffd473b560e 100644 (file)
@@ -58,11 +58,10 @@ class NodePackageDecoderTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 25348ba84cb5304cf7c857e71d42e20215eee4f5..cf22768d422e85ef2cf40a51f6ca7d4d13e4f63a 100644 (file)
@@ -46,11 +46,10 @@ class NodeDhtBootstrapTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index 0281d86630f04832f01f7b6c9da391dababe3da0..1baa4d65907bcfc12d9928742126c6a868cc1c2c 100644 (file)
@@ -46,11 +46,10 @@ class NodeDhtQueryTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
-        * @todo        Maybe visit some sub-objects
         */
        public function accept (Visitor $visitorInstance) {
                // Visit this task
index e158f7216c500a10ad942a97741b2502690417af..fe4274ac55c81ed916da5227c5ea832832dc77e1 100644 (file)
@@ -46,7 +46,7 @@ class NodeSocketListenerTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index de132749b329fec5ce5d703af5bdd88b61ba0e21..1403c0246a4d8ff90da11e16f65e918aac6a7576 100644 (file)
@@ -56,7 +56,7 @@ class NodePingTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 2b7a32976c6a5ae4192f6b08d65468b2b855970b..721fff35327c890e7a0938f57fdbf56e597ce86b 100644 (file)
@@ -46,7 +46,7 @@ class NodeSelfConnectTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 39d3f1883bf4f9f6e5ba56f9c93d30a6d9e36b46..0567aeed50b3926a970d7b5a54c8c44b4b3501d6 100644 (file)
@@ -46,7 +46,7 @@ class NodeUpdateCheckTask extends BaseTask implements Taskable, Visitable {
        }
 
        /**
-        * Accepts the visitor to process the visit "request"
+        * Accepts the visitor to process the visitor
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
index 21f68377ac161445cb5ee5ae8acc983c6c800e0b..68f8358a1910889ad06c102e89bf43bbfc394965 100644 (file)
@@ -1,7 +1,7 @@
 ### WARNING: THIS FILE IS AUTO-GENERATED BY ./todo-builder.sh ###
 ### DO NOT EDIT THIS FILE. ###
-./application/hub/config.php:655:// @TODO This and the next value is very static again
-./application/hub/config.php:719:// @TODO This is very static, rewrite it to more flexible
+./application/hub/config.php:661:// @TODO This and the next value is very static again
+./application/hub/config.php:725:// @TODO This is very static, rewrite it to more flexible
 ./application/hub/interfaces/apt-proxy/class_AptProxy.php:10: * @todo          We need to find a better name for this interface
 ./application/hub/interfaces/chat/class_Chatter.php:10: * @todo                We need to find a better name for this interface
 ./application/hub/interfaces/cruncher/class_CruncherHelper.php:10: * @todo             We need to find a better name for this interface
@@ -50,7 +50,6 @@
 ./application/hub/main/filter/node/class_NodeInitializationFilter.php:87:                      // @TODO Can we rewrite this to app_exit() ?
 ./application/hub/main/filter/node/class_NodePhpRequirementsFilter.php:55:      * @todo        Add more test and try to add an extra message to the thrown exception
 ./application/hub/main/filter/node/class_NodeWelcomeTeaserFilter.php:55:        * @todo        Handle over the $responseInstance to outputConsoleTeaser()
-./application/hub/main/filter/shutdown/node/class_NodeShutdownDeinitQueuesFilter.php:55:        * @todo        0% done
 ./application/hub/main/filter/shutdown/node/class_NodeShutdownFlushNodeListFilter.php:55:       * @todo        0% done
 ./application/hub/main/filter/shutdown/node/class_NodeShutdownTaskHandlerFilter.php:55:         * @todo        0% done
 ./application/hub/main/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php:55:         * @todo        5% done
 ./application/hub/main/lists/class_BaseList.php:276:                   // @TODO Extend this somehow?
 ./application/hub/main/lists/groups/class_ListGroupList.php:61:         * @todo        0% done
 ./application/hub/main/lists/query/local/class_LocalQueryList.php:68:   * @todo        0% done
-./application/hub/main/nodes/boot/class_HubBootNode.php:102:    * @todo        Unfinished method
-./application/hub/main/nodes/boot/class_HubBootNode.php:122:           // @TODO Add some filters here
+./application/hub/main/nodes/boot/class_HubBootNode.php:110:           // @TODO Add some filters here
 ./application/hub/main/nodes/boot/class_HubBootNode.php:58:     * @todo        add some more special bootstrap things for this boot node
 ./application/hub/main/nodes/class_BaseHubNode.php:109:         * @todo        Make this code more generic and move it to CryptoHelper or
-./application/hub/main/nodes/class_BaseHubNode.php:458:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
-./application/hub/main/nodes/class_BaseHubNode.php:498:         * @todo        Change the first if() block to check for a specific state
-./application/hub/main/nodes/class_BaseHubNode.php:691:         * @todo        Add checking if this node has been announced to the sender node
-./application/hub/main/nodes/class_BaseHubNode.php:711:         * @todo        Add checking if this node has been announced to the sender node
-./application/hub/main/nodes/class_BaseHubNode.php:775:         * @todo        Find more to do here
-./application/hub/main/nodes/class_BaseHubNode.php:788:         * @todo        Handle thrown exception
+./application/hub/main/nodes/class_BaseHubNode.php:433:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
+./application/hub/main/nodes/class_BaseHubNode.php:473:         * @todo        Change the first if() block to check for a specific state
+./application/hub/main/nodes/class_BaseHubNode.php:666:         * @todo        Add checking if this node has been announced to the sender node
+./application/hub/main/nodes/class_BaseHubNode.php:686:         * @todo        Add checking if this node has been announced to the sender node
+./application/hub/main/nodes/class_BaseHubNode.php:750:         * @todo        Find more to do here
+./application/hub/main/nodes/class_BaseHubNode.php:763:         * @todo        Handle thrown exception
 ./application/hub/main/nodes/list/class_HubListNode.php:58:     * @todo        Implement more bootstrap steps
-./application/hub/main/nodes/list/class_HubListNode.php:68:     * @todo        Unfinished method
-./application/hub/main/nodes/list/class_HubListNode.php:91:            // @TODO Add some filters here
+./application/hub/main/nodes/list/class_HubListNode.php:79:            // @TODO Add some filters here
 ./application/hub/main/nodes/master/class_HubMasterNode.php:58:         * @todo        Implement this method
-./application/hub/main/nodes/master/class_HubMasterNode.php:72:         * @todo        Unfinished method
-./application/hub/main/nodes/master/class_HubMasterNode.php:95:                // @TODO Add some filters here
+./application/hub/main/nodes/master/class_HubMasterNode.php:83:                // @TODO Add some filters here
 ./application/hub/main/nodes/regular/class_HubRegularNode.php:58:       * @todo        Implement this method
-./application/hub/main/nodes/regular/class_HubRegularNode.php:68:       * @todo        Unfinished method
-./application/hub/main/nodes/regular/class_HubRegularNode.php:91:              // @TODO Add some filters here
+./application/hub/main/nodes/regular/class_HubRegularNode.php:79:              // @TODO Add some filters here
 ./application/hub/main/package/class_NetworkPackage.php:1087:   * @todo        Implement verification of all sent tags here?
 ./application/hub/main/package/class_NetworkPackage.php:23: * @todo            Needs to add functionality for handling the object's type
 ./application/hub/main/package/class_NetworkPackage.php:308:           // @TODO crc32() is very weak, but it needs to be fast
 ./application/hub/main/tasks/cruncher/class_CruncherWorkUnitFetcherTask.php:54:         * @todo        Maybe visit some sub-objects
 ./application/hub/main/tasks/network/class_NetworkPackageReaderTask.php:63:     * @todo        Also visit some sub-objects?
 ./application/hub/main/tasks/network/class_NetworkPackageWriterTask.php:59:     * @todo        Also visit some sub-objects?
-./application/hub/main/tasks/node/announcement/class_NodeAnnouncementTask.php:53:       * @todo        0%
 ./application/hub/main/tasks/node/chunks/class_NodeChunkAssemblerTask.php:59:   * @todo        Also visit some sub-objects?
 ./application/hub/main/tasks/node/decoder/class_NodePackageDecoderTask.php:65:  * @todo        Maybe visit some sub-objects
+./application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php:53:        * @todo        Maybe visit some sub-objects
+./application/hub/main/tasks/node/dht/class_NodeDhtBootstrapTask.php:64:        * @todo        0% done
 ./application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php:53:    * @todo        Maybe visit some sub-objects
-./application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php:64:    * @todo        0%
+./application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php:64:    * @todo        0% done
 ./application/hub/main/tasks/node/listener/class_NodeSocketListenerTask.php:63:                // @TODO Do we need to visit this task? $visitorInstance->visitTask($this);
 ./application/hub/main/tasks/node/listener/class_NodeSocketListenerTask.php:70:         * @todo        0% done
 ./application/hub/main/tasks/node/ping/class_NodePingTask.php:63:       * @todo        Also visit some sub-objects?
 ./application/hub/main/tasks/node/ping/class_NodePingTask.php:74:       * @todo        0% done
-./application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php:53:        * @todo        0%
 ./application/hub/main/tasks/node/update/class_NodeUpdateCheckTask.php:53:      * @todo        0%
 ./application/hub/main/template/announcement/class_XmlAnnouncementTemplateEngine.php:10: * @todo               This template engine does not make use of setTemplateType()
 ./application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php:10: * @todo          This template engine does not make use of setTemplateType()
 ./inc/database.php:11: * @todo         Minimize these includes
 ./inc/database.php:51:// @TODO Rewrite this
 ./inc/includes.php:11: * @todo         Minimize these includes
-./inc/includes.php:35:// @TODO This makes the core depending on the SPL. But it should be installed anyway.
-./inc/includes.php:39:// @TODO Find a nicer OOP-ed way for this
+./inc/includes.php:37:// @TODO This makes the core depending on the SPL. But it should be installed anyway.
+./inc/includes.php:41:// @TODO Find a nicer OOP-ed way for this
 ./inc/loader/class_ClassLoader.php:273:                        /* @todo: Do not die here. */
 ./inc/output.php:11: * @todo           Minimize these includes
 ./inc/selector.php:11: * @todo         Minimize these includes
-./index.php:57:         * @todo        This method is old code and needs heavy rewrite and should be moved to ApplicationHelper
+./index.php:43:         * @todo        This method is old code and needs heavy rewrite and should be moved to ApplicationHelper
 ### ### DEPRECATION FOLLOWS: ### ###
 ./application/hub/exceptions/hub/class_HubAlreadyAnnouncedException.php:2:// @DEPRECATED
 ./application/hub/interfaces/dht/class_Dht.php:2:// @DEPRECATED
 ./application/hub/interfaces/nodes/class_NodeHelper.php:2:// @DEPRECATED
 ./application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php:2:// @DEPRECATED
+./application/hub/main/filter/bootstrap/node/class_NodeBootstrapInitQueuesFilter.php:2:// @DEPRECATED
 ./application/hub/main/filter/bootstrap/node/class_NodeBootstrapRestoreNodeListFilter.php:2:// @DEPRECATED
+./application/hub/main/filter/shutdown/node/class_NodeShutdownDeinitQueuesFilter.php:2:// @DEPRECATED
 ./application/hub/main/handler/message-types/class_NodeMessageAnnouncementHandler.php:2:// @DEPRECATED
 ./application/hub/main/helper/hub/announcement/class_HubDescriptorHelper.php:2:// @DEPRECATED
 ./application/hub/main/nodes/class_BaseHubNode.php:56:  * @deprecated