]> git.mxchange.org Git - hub.git/commitdiff
Added new task for package tags (object registry):
authorRoland Häder <roland@mxchange.org>
Fri, 22 Feb 2013 04:43:42 +0000 (04:43 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 22 Feb 2013 04:43:42 +0000 (04:43 +0000)
- Added new task for package tags (object registry) early initialization as
  rewrites on DHT initialization requires it
- Rewritten DHT initialization to include all supported object types
- Deprecated now all queue/query-related files
- Updated TODOs.txt

21 files changed:
.gitattributes
application/hub/config.php
application/hub/interfaces/query/class_Queryable.php
application/hub/interfaces/visitor/connector/class_QueryConnectorVisitor.php
application/hub/interfaces/visitor/connector/class_QueueConnectorVisitor.php
application/hub/interfaces/visitor/query/class_QueryVisitor.php
application/hub/interfaces/visitor/queue/class_QueueVisitor.php
application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php
application/hub/main/lists/query/local/class_LocalQueryList.php
application/hub/main/queries/class_
application/hub/main/queries/class_BaseQuery.php
application/hub/main/queries/local/class_LocalQuery.php
application/hub/main/queues/class_
application/hub/main/queues/class_BaseQueue.php
application/hub/main/queues/peer/class_LocalPeerQueue.php
application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php
application/hub/main/tasks/node/tags/.htaccess [new file with mode: 0644]
application/hub/main/tasks/node/tags/class_NodePackageTagsInitTask.php [new file with mode: 0644]
application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php
application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php
docs/TODOs.txt

index 22ac4bde955902f377e4771be3005e9044f13b5b..166d3d5b6753c36d3f46d039243ed41d857024c7 100644 (file)
@@ -694,6 +694,8 @@ application/hub/main/tasks/node/ping/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/ping/class_NodePingTask.php -text
 application/hub/main/tasks/node/self_connect/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php svneol=native#text/plain
 application/hub/main/tasks/node/ping/class_NodePingTask.php -text
 application/hub/main/tasks/node/self_connect/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/self_connect/class_NodeSelfConnectTask.php svneol=native#text/plain
+application/hub/main/tasks/node/tags/.htaccess -text svneol=unset#text/plain
+application/hub/main/tasks/node/tags/class_NodePackageTagsInitTask.php svneol=native#text/plain
 application/hub/main/tasks/node/update/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/update/class_NodeUpdateCheckTask.php -text
 application/hub/main/template/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/update/.htaccess -text svneol=unset#text/plain
 application/hub/main/tasks/node/update/class_NodeUpdateCheckTask.php -text
 application/hub/main/template/.htaccess -text svneol=unset#text/plain
index dbeb8affb03975e8d702cdbd9cc4cff31421a977..d63a50b4c5af09ee9293e9ca93f4922b6467ed62 100644 (file)
@@ -381,21 +381,9 @@ $cfg->setConfigEntry('stacker_package_processed_message_max_size', 400);
 // CFG: STACKER-PACKAGE-BACKBUFFER-MAX-SIZE
 $cfg->setConfigEntry('stacker_package_backbuffer_max_size', 1000);
 
 // CFG: STACKER-PACKAGE-BACKBUFFER-MAX-SIZE
 $cfg->setConfigEntry('stacker_package_backbuffer_max_size', 1000);
 
-// CFG: STACKER-IN-QUEUE-MAX-SIZE
-$cfg->setConfigEntry('stacker_in_queue_max_size', 10000);
-
-// CFG: STACKER-OUT-QUEUE-MAX-SIZE
-$cfg->setConfigEntry('stacker_out_queue_max_size', 10000);
-
 // CFG: STACKER-NODE-OBJECT-REGISTRY-MAX-SIZE
 $cfg->setConfigEntry('stacker_node_object_registry_max_size', 100);
 
 // CFG: STACKER-NODE-OBJECT-REGISTRY-MAX-SIZE
 $cfg->setConfigEntry('stacker_node_object_registry_max_size', 100);
 
-// CFG: STACKER-OUTGOING-QUEUE-MAX-SIZE
-$cfg->setConfigEntry('stacker_outgoing_queue_max_size', 100000);
-
-// CFG: STACKER-INCOMING-QUEUE-MAX-SIZE
-$cfg->setConfigEntry('stacker_incoming_queue_max_size', 100000);
-
 // CFG: STACKER-RAW-DATA-MAX-SIZE
 $cfg->setConfigEntry('stacker_raw_data_max_size', 100);
 
 // CFG: STACKER-RAW-DATA-MAX-SIZE
 $cfg->setConfigEntry('stacker_raw_data_max_size', 100);
 
@@ -420,23 +408,14 @@ $cfg->setConfigEntry('news_main_limit', 5);
 // CFG: TASK-HANDLER-CLASS
 $cfg->setConfigEntry('task_handler_class', 'TaskHandler');
 
 // CFG: TASK-HANDLER-CLASS
 $cfg->setConfigEntry('task_handler_class', 'TaskHandler');
 
-// CFG: TASK-QUERY-HANDLER-STARTUP-DELAY
-$cfg->setConfigEntry('task_query_handler_startup_delay', 1000);
-
-// CFG: TASK-QUERY-HANDLER-INTERVAL-DELAY
-$cfg->setConfigEntry('task_query_handler_interval_delay', 10);
+// CFG: TASK-PACKAGE-TAGS-INIT-STARTUP-DELAY
+$cfg->setConfigEntry('task_package_tags_init_startup_delay', 50);
 
 
-// CFG: TASK-QUERY-HANDLER-MAX-RUNS
-$cfg->setConfigEntry('task_query_handler_max_runs', 0);
+// CFG: TASK-PACKAGE-TAGS-INIT-INTERVAL-DELAY
+$cfg->setConfigEntry('task_package_tags_init_interval_delay', 1000*60*60*24*7);
 
 
-// CFG: TASK-QUEUE-HANDLER-STARTUP-DELAY
-$cfg->setConfigEntry('task_queue_handler_startup_delay', 1000);
-
-// CFG: TASK-QUEUE-HANDLER-INTERVAL-DELAY
-$cfg->setConfigEntry('task_queue_handler_interval_delay', 10);
-
-// CFG: TASK-QUEUE-HANDLER-MAX-RUNS
-$cfg->setConfigEntry('task_queue_handler_max_runs', 0);
+// CFG: TASK-PACKAGE-TAGS-INIT-MAX-RUNS
+$cfg->setConfigEntry('task_package_tags_init_max_runs', 1);
 
 // CFG: TASK-IDLE-LOOP-STARTUP-DELAY
 $cfg->setConfigEntry('task_idle_loop_startup_delay', 0);
 
 // CFG: TASK-IDLE-LOOP-STARTUP-DELAY
 $cfg->setConfigEntry('task_idle_loop_startup_delay', 0);
@@ -486,6 +465,9 @@ $cfg->setConfigEntry('task_ping_max_runs', 0);
 // CFG: IDLE-TASK-CLASS
 $cfg->setConfigEntry('idle_task_class', 'IdleLoopTask');
 
 // CFG: IDLE-TASK-CLASS
 $cfg->setConfigEntry('idle_task_class', 'IdleLoopTask');
 
+// CFG: NODE-PACKAGE-TAGS-INIT-TASK-CLASS
+$cfg->setConfigEntry('node_package_tags_init_task_class', 'NodePackageTagsInitTask');
+
 // CFG: NODE-SELFCONNECT-TASK-CLASS
 $cfg->setConfigEntry('node_selfconnect_task_class', 'NodeSelfConnectTask');
 
 // CFG: NODE-SELFCONNECT-TASK-CLASS
 $cfg->setConfigEntry('node_selfconnect_task_class', 'NodeSelfConnectTask');
 
@@ -612,12 +594,6 @@ $cfg->setConfigEntry('query_iterator_class', 'DefaultIterator');
 // CFG: NODE-PING-ITERATOR-CLASS
 $cfg->setConfigEntry('node_ping_iterator_class', 'HubPingIterator');
 
 // CFG: NODE-PING-ITERATOR-CLASS
 $cfg->setConfigEntry('node_ping_iterator_class', 'HubPingIterator');
 
-// CFG: LOCAL-QUERY-LIST-CLASS
-$cfg->setConfigEntry('local_query_list_class', 'LocalQueryList');
-
-// CFG: LOCAL-QUERY-CLASS
-$cfg->setConfigEntry('local_query_class', 'LocalQuery');
-
 // CFG: WEB-TEMPLATE-CLASS @OVERRIDE
 $cfg->setConfigEntry('web_template_class', 'ConsoleTemplateEngine');
 
 // CFG: WEB-TEMPLATE-CLASS @OVERRIDE
 $cfg->setConfigEntry('web_template_class', 'ConsoleTemplateEngine');
 
index 23e6d8cc3eedd6a3437200de523d9e0909969dd5..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,28 +1,3 @@
 <?php
 <?php
-/**
- * An interface for querys
- *
- * @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/>.
- */
-interface Queryable extends FrameworkInterface {
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index ac9b92fe7fa95efa2107a837d815879e501a7fca..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,35 +1,3 @@
 <?php
 <?php
-/**
- * An interface for the visitor implementation for query connectors
- *
- * @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/>.
- */
-interface QueryConnectorVisitor extends Visitor {
-       /**
-        * QueryConnector visitor method for active queries
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       function visitQueryConnector (Connectable $connectorInstance);
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index e32f2cee82ba4e97332b80be1e7c7a7f950164b4..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,35 +1,3 @@
 <?php
 <?php
-/**
- * An interface for the visitor implementation for queue connectors
- *
- * @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/>.
- */
-interface QueueConnectorVisitor extends Visitor {
-       /**
-        * QueueConnector visitor method for active queries
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       function visitQueueConnector (Connectable $connectorInstance);
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 0cac3bcf234562577033d90ccc6bf8d4626c0896..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,35 +1,3 @@
 <?php
 <?php
-/**
- * An interface for the visitor implementation for queries
- *
- * @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/>.
- */
-interface QueryVisitor extends Visitor {
-       /**
-        * Query visitor method for active queries
-        *
-        * @param       $queryInstance  A Queryable instance
-        * @return      void
-        */
-       function visitQuery (Queryable $queryInstance);
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 49f7e6302c94ef4edbf399bc581a616da6818561..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,35 +1,3 @@
 <?php
 <?php
-/**
- * An interface for the visitor implementation for queues
- *
- * @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/>.
- */
-interface QueueVisitor extends Visitor {
-       /**
-        * Queue visitor method for active queues
-        *
-        * @param       $QueueInstance  A Queueable instance
-        * @return      void
-        */
-       function visitQueue (Queueable $queueInstance);
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 3ea39ee32a4a5ca55408468e7127c097f7428fdd..e2d1e1a39f560614cdf67cbfadb1d83c87af0a32 100644 (file)
@@ -103,6 +103,12 @@ class NodeTaskHandlerInitializerFilter extends BaseNodeFilter implements Filtera
                // Register it as well
                $handlerInstance->registerTask('dht_query', $taskInstance);
 
                // Register it as well
                $handlerInstance->registerTask('dht_query', $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');
 
                // Prepare a self-test task for the listeners
                $taskInstance = ObjectFactory::createObjectByConfiguredName('node_selfconnect_task_class');
 
index 2a89c83a1e3b77586ddb6883598ac0b76f97257f..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,76 +1,3 @@
 <?php
 <?php
-/**
- * A LocalQuery list
- *
- * @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 LocalQueryList extends BaseList implements Listable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this class
-        *
-        * @return      $listInstance           An instance a Listable class
-        */
-       public static final function createLocalQueryList () {
-               // Get new instance
-               $listInstance = new LocalQueryList();
-
-               // Return the prepared instance
-               return $listInstance;
-       }
-
-       /**
-        * "Getter" for iterator from this list
-        *
-        * @return      $iteratorInstance       An instance of a Iterator class
-        */
-       public function getListIterator () {
-               // Get the instance from factory
-               $iteratorInstance = ObjectFactory::createObjectByConfiguredName('query_iterator_class', array($this));
-
-               // Rewind it
-               $iteratorInstance->rewind();
-
-               // ... and return it
-               return $iteratorInstance;
-       }
-
-       /**
-        * Clears this list by cleaning up all groups together.
-        *
-        * @return      void
-        * @todo        0% done
-        */
-       public function clearList () {
-               $this->partialStub('Please implement this method.');
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 3f34c89a7cfccdd0c4ef137b8ed13392fdd8a750..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,50 +1,3 @@
 <?php
 <?php
-/**
- * A ??? query
- *
- * @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 ???Query extends BaseQuery implements Queryable, Visitable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this class
-        *
-        * @return      $queryInstance  An instance of a Queryable class
-        */
-       public final static function create???Query () {
-               // Get new instance
-               $queryInstance = new ???Query();
-
-               // Return the prepared instance
-               return $queryInstance;
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 93f6c0a4ae74ef9b1896b3379580e7ee4c254026..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,38 +1,3 @@
 <?php
 <?php
-/**
- * A general Query
- *
- * @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 BaseQuery extends BaseHubSystem {
-       /**
-        * Protected constructor
-        *
-        * @param       $className      Name of the class
-        * @return      void
-        */
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index a8573285988c11b7ebf6c4bdd06d103df3e53856..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,61 +1,3 @@
 <?php
 <?php
-/**
- * A Local query
- *
- * @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 LocalQuery extends BaseQuery implements Queryable, Visitable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this class
-        *
-        * @return      $queryInstance  An instance of a Queryable class
-        */
-       public static final function createLocalQuery () {
-               // Get new instance
-               $queryInstance = new LocalQuery();
-
-               // Return the prepared instance
-               return $queryInstance;
-       }
-
-       /**
-        * Accepts the visitor to process the visit "request"
-        *
-        * @param       $visitorInstance        An instance of a Visitor class
-        * @return      void
-        */
-       public function accept (Visitor $visitorInstance) {
-               // Visit this query
-               $visitorInstance->visitQuery($this);
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index 978ab575ee35ce397debfbbb36b972d9243e52c2..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,50 +1,3 @@
 <?php
 <?php
-/**
- * 
- *
- * @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 ???Queue extends BaseQueue implements Queueable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this class
-        *
-        * @return      $poolInstance           An instance a Queueable class
-        */
-       public final static function create???Queue () {
-               // Get new instance
-               $poolInstance = new ???Queue();
-
-               // Return the prepared instance
-               return $poolInstance;
-       }
-}
-
-//
+// @DEPRECATED
 ?>
 ?>
index 5959edeb113843c2d3cccba3d02c71b8aef2052b..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,38 +1,3 @@
 <?php
 <?php
-/**
- * A general queue class
- *
- * @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 BaseQueue extends BaseHubSystem {
-       /**
-        * Protected constructor
-        *
-        * @param       $className      Name of the class
-        * @return      void
-        */
-       protected function __construct ($className) {
-               // Call parent constructor
-               parent::__construct($className);
-       }
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
 ?>
index c69c089867e87cb3467750c55973f68a02dcae3c..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,50 +1,3 @@
 <?php
 <?php
-/**
- * A local peer queue class which is used by a LocalQueueConnector instance
- *
- * @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 LocalPeerQueue extends BaseQueue implements Queueable {
-       /**
-        * Protected constructor
-        *
-        * @return      void
-        */
-       protected function __construct () {
-               // Call parent constructor
-               parent::__construct(__CLASS__);
-       }
-
-       /**
-        * Creates an instance of this class
-        *
-        * @return      $poolInstance           An instance a Queueable class
-        */
-       public static final function createLocalPeerQueue () {
-               // Get new instance
-               $poolInstance = new LocalPeerQueue();
-
-               // Return the prepared instance
-               return $poolInstance;
-       }
-}
-
-//
+// @DEPRECATED
 ?>
 ?>
index 7ec31632d09e1ee18a0a0ea9e4983ad7c2fdb8d4..ffbaec9a2831d90af0fc83402cd02e4d28459e3a 100644 (file)
@@ -66,7 +66,7 @@ class NodeDhtQueryTask extends BaseTask implements Taskable, Visitable {
         * Executes the task
         *
         * @return      void
         * Executes the task
         *
         * @return      void
-        * @todo        0% done
+        * @todo        ~5% done
         */
        public function executeTask () {
                // "Cache" the DHT instance
         */
        public function executeTask () {
                // "Cache" the DHT instance
diff --git a/application/hub/main/tasks/node/tags/.htaccess b/application/hub/main/tasks/node/tags/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/main/tasks/node/tags/class_NodePackageTagsInitTask.php b/application/hub/main/tasks/node/tags/class_NodePackageTagsInitTask.php
new file mode 100644 (file)
index 0000000..bada501
--- /dev/null
@@ -0,0 +1,72 @@
+<?php
+/**
+ * A PackageTagsInit node-task
+ *
+ * @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 NodePackageTagsInitTask extends BaseTask implements Taskable, Visitable {
+       /**
+        * Protected constructor
+        *
+        * @return      void
+        */
+       protected function __construct () {
+               // Call parent constructor
+               parent::__construct(__CLASS__);
+       }
+
+       /**
+        * Creates an instance of this class
+        *
+        * @return      $taskInstance   An instance of a Visitable class
+        */
+       public final static function createNodePackageTagsInitTask () {
+               // Get new instance
+               $taskInstance = new NodePackageTagsInitTask();
+
+               // Return the prepared instance
+               return $taskInstance;
+       }
+
+       /**
+        * 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
+               $visitorInstance->visitTask($this);
+       }
+
+       /**
+        * Executes the task
+        *
+        * @return      void
+        */
+       public function executeTask () {
+               // Get a factory instance and do no more as this loads the object (tags) registry
+               $tagsInstance = PackageTagsFactory::createPackageTagsInstance();
+       }
+}
+
+// [EOF]
+?>
index 42196dbc0d78af0f2a0081f63cae2313049ae2a9..1863207ee1850b782f7c8d0533f104bb005b1650 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
  * 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 ActiveTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConnectorVisitor, QueueConnectorVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor {
+class ActiveTaskVisitor extends BaseVisitor implements TaskVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor {
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
@@ -61,28 +61,6 @@ class ActiveTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConnect
                //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visiting task ' . $taskInstance->__toString() . ' - FINISHED');
        }
 
                //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visiting task ' . $taskInstance->__toString() . ' - FINISHED');
        }
 
-       /**
-        * Connector visitor method for active tasks
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       public function visitQueryConnector (Connectable $connectorInstance) {
-               // Process all pending queries
-               $connectorInstance->handlePending();
-       }
-
-       /**
-        * Connector visitor method for active tasks
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       public function visitQueueConnector (Connectable $connectorInstance) {
-               // Process all pending queries
-               $connectorInstance->handlePending();
-       }
-
        /**
         * Pool visitor method for active tasks
         *
        /**
         * Pool visitor method for active tasks
         *
@@ -97,28 +75,6 @@ class ActiveTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConnect
                 */
        }
 
                 */
        }
 
-       /**
-        * Query visitor method for active queries
-        *
-        * @param       $queryInstance  A Queryable instance
-        * @return      void
-        * @todo        Does a query needs to perform some actions as an active task?
-        */
-       public function visitQuery (Queryable $queryInstance) {
-               // Empty for now...
-       }
-
-       /**
-        * Queue visitor method for active queries
-        *
-        * @param       $queueInstance  A Queueable instance
-        * @return      void
-        * @todo        Does a queue needs to perform some actions as an active task?
-        */
-       public function visitQueue (Queueable $queueInstance) {
-               // Empty for now...
-       }
-
        /**
         * Visits the given listener instance
         *
        /**
         * Visits the given listener instance
         *
index 5ccab26326a541ac444412e8f76a098730533d22..f8d0d76d8228687b1b49d74c2eeb51fc22d23b5e 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
  * 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 ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConnectorVisitor, QueueConnectorVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor {
+class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, PoolVisitor, ListenerVisitor, DecoratorVisitor {
        /**
         * Protected constructor
         *
        /**
         * Protected constructor
         *
@@ -59,28 +59,6 @@ class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConne
                $taskInstance->doShutdown();
        }
 
                $taskInstance->doShutdown();
        }
 
-       /**
-        * Connector visitor method for active tasks
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       public function visitQueryConnector (Connectable $connectorInstance) {
-               // Shutdown the connector instance
-               $connectorInstance->doShutdown();
-       }
-
-       /**
-        * Connector visitor method for active tasks
-        *
-        * @param       $connectorInstance      A Connectable instance
-        * @return      void
-        */
-       public function visitQueueConnector (Connectable $connectorInstance) {
-               // Shutdown the connector instance
-               $connectorInstance->doShutdown();
-       }
-
        /**
         * Pool visitor method for active tasks
         *
        /**
         * Pool visitor method for active tasks
         *
@@ -92,30 +70,6 @@ class ShutdownTaskVisitor extends BaseVisitor implements TaskVisitor, QueryConne
                $poolInstance->doShutdown();
        }
 
                $poolInstance->doShutdown();
        }
 
-       /**
-        * Query visitor method for active queries
-        *
-        * @param       $queryInstance  A Queryable instance
-        * @return      void
-        * @todo        Does a query needs to perform some actions as an active task?
-        */
-       public function visitQuery (Queryable $queryInstance) {
-               // Shutdown the query instance
-               $queryInstance->doShutdown();
-       }
-
-       /**
-        * Queue visitor method for active queries
-        *
-        * @param       $queueInstance  A Queueable instance
-        * @return      void
-        * @todo        Does a queue needs to perform some actions as an active task?
-        */
-       public function visitQueue (Queueable $queueInstance) {
-               // Shutdown the queue instance
-               $queueInstance->doShutdown();
-       }
-
        /**
         * Visits the given listener instance
         *
        /**
         * Visits the given listener instance
         *
index 68f8358a1910889ad06c102e89bf43bbfc394965..5f91113006ec6d973dce8dbcbae44a7e85652626 100644 (file)
@@ -1,7 +1,7 @@
 ### WARNING: THIS FILE IS AUTO-GENERATED BY ./todo-builder.sh ###
 ### DO NOT EDIT THIS FILE. ###
 ### WARNING: THIS FILE IS AUTO-GENERATED BY ./todo-builder.sh ###
 ### DO NOT EDIT THIS FILE. ###
-./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/config.php:646:// @TODO This and the next value is very static again
+./application/hub/config.php:710:// @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
 ./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
 ./application/hub/main/commands/console/class_HubConsoleCruncherCommand.php:58:         * @todo        Try to create a CruncherActivationTask or so
 ./application/hub/main/commands/console/class_HubConsoleMainCommand.php:114:    * @todo        Should we add some more filters?
 ./application/hub/main/commands/console/class_HubConsoleMainCommand.php:58:     * @todo        Try to create a HubActivationTask or so
 ./application/hub/main/commands/console/class_HubConsoleCruncherCommand.php:58:         * @todo        Try to create a CruncherActivationTask or so
 ./application/hub/main/commands/console/class_HubConsoleMainCommand.php:114:    * @todo        Should we add some more filters?
 ./application/hub/main/commands/console/class_HubConsoleMainCommand.php:58:     * @todo        Try to create a HubActivationTask or so
-./application/hub/main/connectors/query/local/class_LocalQueryConnector.php:10: * @todo                Find an interface for: handleAllQueries()
-./application/hub/main/connectors/query/local/class_LocalQueryConnector.php:78:         * @TODO        0% done: Unfinished work here
-./application/hub/main/connectors/queues/local/class_LocalQueueConnector.php:58:        * @TODO        0% done: Unfinished work here
 ./application/hub/main/cruncher/class_BaseHubCruncher.php:188:  * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:108:         * @todo        Implement this method
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:138:         * @todo        0% done
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:98:         // @TODO Implement this method
 ./application/hub/main/cruncher/class_BaseHubCruncher.php:188:  * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:108:         * @todo        Implement this method
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:138:         * @todo        0% done
 ./application/hub/main/cruncher/mcrypt/class_HubMcryptCruncher.php:98:         // @TODO Implement this method
-./application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php:177:    * @todo        Unfinished area
-./application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php:219:    * @todo        Unfinished area
-./application/hub/main/discovery/package/class_PackageRecipientDiscovery.php:134:       * @todo        Add some validation of recipient field, e.g. ip:port is found
-./application/hub/main/discovery/package/class_PackageRecipientDiscovery.php:135:       * @todo        The if() does only check for TCP, not UDP, e.g. try to get a $handlerInstance here
+./application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php:174:    * @todo        Unfinished area
+./application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php:216:    * @todo        Unfinished area
+./application/hub/main/dht/class_BaseDht.php:46:        * @todo        Find more to do here
+./application/hub/main/dht/node/class_NodeDhtFacade.php:253:    * @todo        ~10% done
+./application/hub/main/dht/node/class_NodeDhtFacade.php:265:           // @TODO Not finish yet
+./application/hub/main/discovery/package/class_PackageRecipientDiscovery.php:92:        * @todo        Add some validation of recipient field, e.g. ip:port is found
+./application/hub/main/discovery/package/class_PackageRecipientDiscovery.php:93:        * @todo        The if() does only check for TCP, not UDP, e.g. try to get a $handlerInstance here
 ./application/hub/main/factories/socket/class_SocketFactory.php:10: * @todo            Find an interface for hub helper
 ./application/hub/main/filter/apt-proxy/class_AptProxyInitializationFilter.php:54:      * @todo        0% done
 ./application/hub/main/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php:55:     * @todo        Add more test and try to add an extra message to the thrown exception
 ./application/hub/main/factories/socket/class_SocketFactory.php:10: * @todo            Find an interface for hub helper
 ./application/hub/main/filter/apt-proxy/class_AptProxyInitializationFilter.php:54:      * @todo        0% done
 ./application/hub/main/filter/apt-proxy/class_AptProxyPhpRequirementsFilter.php:55:     * @todo        Add more test and try to add an extra message to the thrown exception
 ./application/hub/main/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php:55:  * @todo        5% done
 ./application/hub/main/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php:55:  * @todo        5% done
 ./application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php:55:  * @todo        Maybe some more tasks needs to be added?
 ./application/hub/main/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php:55:  * @todo        5% done
 ./application/hub/main/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php:55:  * @todo        5% done
 ./application/hub/main/filter/task/node/class_NodeTaskHandlerInitializerFilter.php:55:  * @todo        Maybe some more tasks needs to be added?
-./application/hub/main/handler/answer-status/announcement/class_AnnouncementAnswerOkayHandler.php:58:   * @todo        Do some more here: Handle karma, et cetera?
-./application/hub/main/handler/answer-status/announcement/class_AnnouncementAnswerOkayHandler.php:59:   * @todo        Rewrite this to use DHT
-./application/hub/main/handler/answer-status/class_BaseAnserStatusHandler.php:53:       * @todo        Rewrite this to use DHT
-./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:105:   * @todo        0% done
-./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:117:   * @todo        0% done
-./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:58:    * @todo        Do some more here: Handle karma, et cetera?
-./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:59:    * @todo        Rewrite this to use DHT
-./application/hub/main/handler/message-types/class_BaseMessageHandler.php:66:   * @todo        Rewrite this to use DHT
+./application/hub/main/handler/answer-status/announcement/class_AnnouncementAnswerOkayHandler.php:64:   * @todo        Do some more here: Handle karma, et cetera?
+./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:103:   * @todo        0% done
+./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:115:   * @todo        0% done
+./application/hub/main/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php:63:    * @todo        Do some more here: Handle karma, et cetera?
+./application/hub/main/handler/class_BaseHandler.php:66:        * @todo        Rewrite this to use DHT
 ./application/hub/main/handler/message-types/self-connect/class_NodeMessageSelfConnectHandler.php:71:                  // @TODO Throw an exception here instead of dying
 ./application/hub/main/handler/network/class_BaseRawDataHandler.php:146:        * @todo        This method will be moved to a better place
 ./application/hub/main/handler/network/udp/class_UdpRawDataHandler.php:58:      * @todo        0%
 ./application/hub/main/handler/message-types/self-connect/class_NodeMessageSelfConnectHandler.php:71:                  // @TODO Throw an exception here instead of dying
 ./application/hub/main/handler/network/class_BaseRawDataHandler.php:146:        * @todo        This method will be moved to a better place
 ./application/hub/main/handler/network/udp/class_UdpRawDataHandler.php:58:      * @todo        0%
 ./application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php:86:         // @TODO The whole resolving part should be moved out and made more configurable
 ./application/hub/main/helper/connection/udp/class_UdpConnectionHelper.php:10: * @todo         Find an interface for hub helper
 ./application/hub/main/helper/connection/udp/class_UdpConnectionHelper.php:56:  * @todo        Implement a filter for ease notification of other objects like the pool
 ./application/hub/main/helper/connection/tcp/class_TcpConnectionHelper.php:86:         // @TODO The whole resolving part should be moved out and made more configurable
 ./application/hub/main/helper/connection/udp/class_UdpConnectionHelper.php:10: * @todo         Find an interface for hub helper
 ./application/hub/main/helper/connection/udp/class_UdpConnectionHelper.php:56:  * @todo        Implement a filter for ease notification of other objects like the pool
-./application/hub/main/helper/hub/announcement/class_HubAnnouncementHelper.php:10: * @todo             Find an interface for hub helper
-./application/hub/main/helper/hub/answer/announcement/class_NodeAnnouncementMessageAnswerHelper.php:10: * @todo                Find an interface for hub helper
-./application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php:10: * @todo         Find an interface for hub helper
-./application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php:10: * @todo                Find an interface for hub helper
-./application/hub/main/helper/hub/requests/class_NodeRequestNodeListHelper.php:10: * @todo             Find an interface for hub helper
+./application/hub/main/helper/dht/class_DhtBootstrapHelper.php:10: * @todo             Find an interface for hub helper
+./application/hub/main/helper/node/announcement/class_NodeAnnouncementHelper.php:10: * @todo           Find an interface for hub helper
+./application/hub/main/helper/node/answer/announcement/class_NodeAnnouncementMessageAnswerHelper.php:10: * @todo               Find an interface for hub helper
+./application/hub/main/helper/node/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php:10: * @todo                Find an interface for hub helper
+./application/hub/main/helper/node/connection/class_NodeSelfConnectHelper.php:10: * @todo              Find an interface for hub helper
+./application/hub/main/helper/node/requests/class_NodeRequestNodeListHelper.php:10: * @todo            Find an interface for hub helper
 ./application/hub/main/helper/work_units/cruncher/class_CruncherTestUnitHelper.php:53:  * @todo        0% done
 ./application/hub/main/helper/work_units/cruncher/class_CruncherTestUnitHelper.php:64:  * @todo        0% done
 ./application/hub/main/iterator/network/class_NetworkListenIterator.php:10: * @todo            This current implementation is not recommended, use a
 ./application/hub/main/helper/work_units/cruncher/class_CruncherTestUnitHelper.php:53:  * @todo        0% done
 ./application/hub/main/helper/work_units/cruncher/class_CruncherTestUnitHelper.php:64:  * @todo        0% done
 ./application/hub/main/iterator/network/class_NetworkListenIterator.php:10: * @todo            This current implementation is not recommended, use a
 ./application/hub/main/listener/udp/class_UdpListener.php:153:  * @todo        ~50% 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/listener/udp/class_UdpListener.php:153:  * @todo        ~50% 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: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/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: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/class_BaseHubNode.php:115:         * @todo        Make this code more generic and move it to CryptoHelper or
+./application/hub/main/nodes/class_BaseHubNode.php:405:         * @todo        Try to make this method more generic so we can move it in BaseFrameworkSystem
+./application/hub/main/nodes/class_BaseHubNode.php:445:         * @todo        Change the first if() block to check for a specific state
+./application/hub/main/nodes/class_BaseHubNode.php:638:         * @todo        Add checking if this node has been announced to the sender node
+./application/hub/main/nodes/class_BaseHubNode.php:658:         * @todo        Add checking if this node has been announced to the sender node
+./application/hub/main/nodes/class_BaseHubNode.php:731:         * @todo        Find more to do here
+./application/hub/main/nodes/class_BaseHubNode.php:744:         * @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: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: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:79:              // @TODO Add some filters here
 ./application/hub/main/nodes/list/class_HubListNode.php:58:     * @todo        Implement more bootstrap steps
 ./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: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: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:1006:           * @todo Unsupported feature of "signed" messages commented out
+./application/hub/main/package/class_NetworkPackage.php:1095:   * @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: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/package/class_NetworkPackage.php:379:           // @TODO crc32() is very weak, but it needs to be fast
-./application/hub/main/package/class_NetworkPackage.php:536:                   // @TODO We may want to do somthing more here?
-./application/hub/main/package/class_NetworkPackage.php:574:    * @todo        Unfinished area, signatures are currently NOT fully supported
-./application/hub/main/package/class_NetworkPackage.php:684:                   // @TODO Add some logging here
-./application/hub/main/package/class_NetworkPackage.php:816:                   // @TODO Add some logging here
-./application/hub/main/package/class_NetworkPackage.php:967:    * @todo        This may be enchanced for outgoing packages?
-./application/hub/main/package/class_NetworkPackage.php:998:            * @todo Unsupported feature of "signed" messages commented out
+./application/hub/main/package/class_NetworkPackage.php:313:           // @TODO crc32() is very weak, but it needs to be fast
+./application/hub/main/package/class_NetworkPackage.php:387:           // @TODO crc32() is very weak, but it needs to be fast
+./application/hub/main/package/class_NetworkPackage.php:544:                   // @TODO We may want to do somthing more here?
+./application/hub/main/package/class_NetworkPackage.php:582:    * @todo        Unfinished area, signatures are currently NOT fully supported
+./application/hub/main/package/class_NetworkPackage.php:692:                   // @TODO Add some logging here
+./application/hub/main/package/class_NetworkPackage.php:824:                   // @TODO Add some logging here
+./application/hub/main/package/class_NetworkPackage.php:975:    * @todo        This may be enchanced for outgoing packages?
 ./application/hub/main/package/fragmenter/class_PackageFragmenter.php:275:      * @todo        Implement a way to send non-announcement packages with extra-salt
 ./application/hub/main/package/fragmenter/class_PackageFragmenter.php:275:      * @todo        Implement a way to send non-announcement packages with extra-salt
-./application/hub/main/package/fragmenter/class_PackageFragmenter.php:427:      * @todo        $helperInstance is unused
+./application/hub/main/package/fragmenter/class_PackageFragmenter.php:370:             // @TODO This assert broke packages where the hash chunk was very large: assert(strlen($rawData) <= NetworkPackage::TCP_PACKAGE_SIZE);
+./application/hub/main/package/fragmenter/class_PackageFragmenter.php:428:      * @todo        $helperInstance is unused
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:106:                       // @TODO Send the produced key bundle to the unit producer's input queue
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:62:         * @todo        Find something for init phase of this key producer
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:72:         * @todo        ~30% done
 ./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:79:      * @todo        ~60% done
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:106:                       // @TODO Send the produced key bundle to the unit producer's input queue
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:62:         * @todo        Find something for init phase of this key producer
 ./application/hub/main/producer/cruncher/keys/class_CruncherKeyProducer.php:72:         * @todo        ~30% done
 ./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:79:      * @todo        ~60% done
-./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:99:                     // @TODO Unfinished work here
+./application/hub/main/producer/cruncher/work_units/class_CruncherTestUnitProducer.php:88:                     // @TODO Unfinished work here
+./application/hub/main/recipient/dht/class_DhtRecipient.php:56:         * @todo        0% done
 ./application/hub/main/registry/socket/class_SocketRegistry.php:71:            // @TODO Tested again base class, rewrite it to a generic interface!
 ./application/hub/main/resolver/state/peer/class_PeerStateResolver.php:59:      * @todo        ~30% done
 ./application/hub/main/states/node/active/class_NodeActiveState.php:75:         * @todo        We might want to move some calls to this method to fill it with life
 ./application/hub/main/registry/socket/class_SocketRegistry.php:71:            // @TODO Tested again base class, rewrite it to a generic interface!
 ./application/hub/main/resolver/state/peer/class_PeerStateResolver.php:59:      * @todo        ~30% done
 ./application/hub/main/states/node/active/class_NodeActiveState.php:75:         * @todo        We might want to move some calls to this method to fill it with life
 ./application/hub/main/statistics/connection/class_ConnectionStatisticsHelper.php:11: * @todo          Find an interface for hub helper
 ./application/hub/main/statistics/connection/class_ConnectionStatisticsHelper.php:98:          // @TODO last_update is not being used at the moment
 ./application/hub/main/streams/raw_data/input/class_RawDataInputStream.php:58:  * @todo        Do we need to do something more here?
 ./application/hub/main/statistics/connection/class_ConnectionStatisticsHelper.php:11: * @todo          Find an interface for hub helper
 ./application/hub/main/statistics/connection/class_ConnectionStatisticsHelper.php:98:          // @TODO last_update is not being used at the moment
 ./application/hub/main/streams/raw_data/input/class_RawDataInputStream.php:58:  * @todo        Do we need to do something more here?
-./application/hub/main/tasks/apt-proxy/class_AptProxyListenerTask.php:53:       * @todo        Maybe visit some sub-objects
-./application/hub/main/tasks/apt-proxy/class_AptProxyListenerTask.php:64:       * @todo        0%
-./application/hub/main/tasks/chat/class_ChatTelnetListenerTask.php:53:  * @todo        Maybe visit some sub-objects
-./application/hub/main/tasks/chat/class_ChatTelnetListenerTask.php:64:  * @todo        0%
-./application/hub/main/tasks/cruncher/class_CruncherKeyProducerTask.php:53:     * @todo        Maybe visit some sub-objects
-./application/hub/main/tasks/cruncher/class_CruncherTestUnitProducerTask.php:53:        * @todo        Maybe visit some sub-objects
-./application/hub/main/tasks/cruncher/class_CruncherWorkUnitFetcherTask.php:54:         * @todo        Maybe visit some sub-objects
+./application/hub/main/tasks/apt-proxy/class_AptProxyListenerTask.php:63:       * @todo        0%
+./application/hub/main/tasks/chat/class_ChatTelnetListenerTask.php:63:  * @todo        0%
 ./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/chunks/class_NodeChunkAssemblerTask.php:59:   * @todo        Also 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/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% done
+./application/hub/main/tasks/node/dht/class_NodeDhtQueryTask.php:69:    * @todo        ~5% 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/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/tags/class_NodePackageTagsInitTask.php:53:    * @todo        Maybe visit some sub-objects
 ./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()
 ./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()
-./application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php:94:   * @todo        Find something useful with this!
+./application/hub/main/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php:92:   * @todo        Find something useful with this!
 ./application/hub/main/template/answer/class_BaseXmlAnswerTemplateEngine.php:10: * @todo               This template engine does not make use of setTemplateType()
 ./application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php:10: * @todo           This template engine does not make use of setTemplateType()
 ./application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php:82:    * @todo        Find something useful with this!
 ./application/hub/main/template/answer/class_BaseXmlAnswerTemplateEngine.php:10: * @todo               This template engine does not make use of setTemplateType()
 ./application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php:10: * @todo           This template engine does not make use of setTemplateType()
 ./application/hub/main/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php:82:    * @todo        Find something useful with this!
+./application/hub/main/template/bootstrap/class_XmlDhtBootstrapTemplateEngine.php:10: * @todo          This template engine does not make use of setTemplateType()
 ./application/hub/main/template/class_BaseXmlTemplateEngine.php:10: * @todo            This template engine does not make use of setTemplateType()
 ./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:10: * @todo             This template engine does not make use of setTemplateType()
 ./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:77:      * @todo        Find something useful with this!
 ./application/hub/main/template/class_BaseXmlTemplateEngine.php:10: * @todo            This template engine does not make use of setTemplateType()
 ./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:10: * @todo             This template engine does not make use of setTemplateType()
 ./application/hub/main/template/connect/class_XmlSelfConnectTemplateEngine.php:77:      * @todo        Find something useful with this!
 ./application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php:270:    * @todo        Handle $keyCount
 ./application/hub/main/template/requests/class_XmlRequestNodeListTemplateEngine.php:10: * @todo                This template engine does not make use of setTemplateType()
 ./application/hub/main/template/requests/class_XmlRequestNodeListTemplateEngine.php:74:         * @todo        Find something useful with this!
 ./application/hub/main/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php:270:    * @todo        Handle $keyCount
 ./application/hub/main/template/requests/class_XmlRequestNodeListTemplateEngine.php:10: * @todo                This template engine does not make use of setTemplateType()
 ./application/hub/main/template/requests/class_XmlRequestNodeListTemplateEngine.php:74:         * @todo        Find something useful with this!
-./application/hub/main/tools/class_HubTools.php:119:    * @todo        Rewrite this to use DHT
-./application/hub/main/tools/class_HubTools.php:169:                   // @TODO Please try to encapsulate this PHP call into an own class
-./application/hub/main/tools/class_HubTools.php:88:     * @todo        Rewrite this to use DHT
-./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:105:   * @todo        Does a query needs to perform some actions as an active task?
-./application/hub/main/visitor/tasks/class_ActiveTaskVisitor.php:116:   * @todo        Does a queue needs to perform some actions as an active task?
-./application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php:100:         * @todo        Does a query needs to perform some actions as an active task?
-./application/hub/main/visitor/tasks/class_ShutdownTaskVisitor.php:112:         * @todo        Does a queue needs to perform some actions as an active task?
+./application/hub/main/tools/class_HubTools.php:177:                    * @TODO Please try to encapsulate this PHP call into an own class
 ./inc/classes/exceptions/main/class_MissingMethodException.php:13: * @todo             Try to rewrite user/guest login classes and mark this exception as deprecated
 ./inc/classes/exceptions/main/class_NoConfigEntryException.php:10: * @todo             Rename this class to NoFoundEntryException
 ./inc/classes/interfaces/class_FrameworkInterface.php:11: * @todo              Find a better name for this interface
 ./inc/classes/exceptions/main/class_MissingMethodException.php:13: * @todo             Try to rewrite user/guest login classes and mark this exception as deprecated
 ./inc/classes/exceptions/main/class_NoConfigEntryException.php:10: * @todo             Rename this class to NoFoundEntryException
 ./inc/classes/interfaces/class_FrameworkInterface.php:11: * @todo              Find a better name for this interface
-./inc/classes/main/class_BaseFrameworkSystem.php:1723:  * @todo        Write a logging mechanism for productive mode
-./inc/classes/main/class_BaseFrameworkSystem.php:1737:                 // @TODO Finish this part!
-./inc/classes/main/class_BaseFrameworkSystem.php:195:  // @todo Try to clean these constants up
-./inc/classes/main/class_BaseFrameworkSystem.php:415:          // @TODO __CLASS__ does always return BaseFrameworkSystem but not the extending (=child) class
-./inc/classes/main/class_BaseFrameworkSystem.php:489:   * @todo        SearchableResult and UpdateableResult shall have a super interface to use here
+./inc/classes/interfaces/criteria/extended/class_LocalSearchCriteria.php:30:    * @todo        Find a nice casting here. (int) allows until and including 32766.
+./inc/classes/interfaces/criteria/extended/class_LocalSearchCriteria.php:54:    * @todo        Find a nice casting here. (int) allows until and including 32766.
+./inc/classes/main/class_BaseFrameworkSystem.php:1747:  * @todo        Write a logging mechanism for productive mode
+./inc/classes/main/class_BaseFrameworkSystem.php:1761:                 // @TODO Finish this part!
+./inc/classes/main/class_BaseFrameworkSystem.php:200:  // @todo Try to clean these constants up
+./inc/classes/main/class_BaseFrameworkSystem.php:420:          // @TODO __CLASS__ does always return BaseFrameworkSystem but not the extending (=child) class
+./inc/classes/main/class_BaseFrameworkSystem.php:494:   * @todo        SearchableResult and UpdateableResult shall have a super interface to use here
 ./inc/classes/main/commands/web/class_WebLoginAreaCommand.php:64:       * @todo        Add some stuff here: Some personal data, app/game related data
 ./inc/classes/main/commands/web/class_WebProblemCommand.php:58:         * @todo        0% done
 ./inc/classes/main/commands/web/class_WebResendLinkCommand.php:67:             // @TODO Rewrite this code to make use of generateRandomString() from 'hub' project
 ./inc/classes/main/commands/web/class_WebStatusCommand.php:58:  * @todo        0% done
 ./inc/classes/main/commands/web/class_WebLoginAreaCommand.php:64:       * @todo        Add some stuff here: Some personal data, app/game related data
 ./inc/classes/main/commands/web/class_WebProblemCommand.php:58:         * @todo        0% done
 ./inc/classes/main/commands/web/class_WebResendLinkCommand.php:67:             // @TODO Rewrite this code to make use of generateRandomString() from 'hub' project
 ./inc/classes/main/commands/web/class_WebStatusCommand.php:58:  * @todo        0% done
-./inc/classes/main/console/class_ConsoleTools.php:219:  * @todo        This should be moved out to an external class, e.g. HttpClient
-./inc/classes/main/console/class_ConsoleTools.php:220:  * @todo        Make IP, host name, port and script name configurable
-./inc/classes/main/console/class_ConsoleTools.php:227:         // @TODO Add some DNS caching here
+./inc/classes/main/console/class_ConsoleTools.php:268:  * @todo        This should be moved out to an external class, e.g. HttpClient
+./inc/classes/main/console/class_ConsoleTools.php:269:  * @todo        Make IP, host name, port and script name configurable
+./inc/classes/main/console/class_ConsoleTools.php:276:         // @TODO Add some DNS caching here
 ./inc/classes/main/console/class_ConsoleTools.php:45:   * @todo        We should connect this to a caching class to cache DNS requests
 ./inc/classes/main/console/class_ConsoleTools.php:58:          // @TODO Here should the cacher be implemented
 ./inc/classes/main/controller/console/class_ConsoleDefaultController.php:10: * @todo           This controller shall still provide some headlines for sidebars
 ./inc/classes/main/console/class_ConsoleTools.php:45:   * @todo        We should connect this to a caching class to cache DNS requests
 ./inc/classes/main/console/class_ConsoleTools.php:58:          // @TODO Here should the cacher be implemented
 ./inc/classes/main/controller/console/class_ConsoleDefaultController.php:10: * @todo           This controller shall still provide some headlines for sidebars
 ./inc/classes/main/controller/web/class_WebStatusController.php:10: * @todo            This controller shall still provide some headlines for sidebars
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:102:        * @todo        Find a nice casting here. (int) allows until and including 32766.
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:70:         * @todo        Find a nice casting here. (int) allows until and including 32766.
 ./inc/classes/main/controller/web/class_WebStatusController.php:10: * @todo            This controller shall still provide some headlines for sidebars
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:102:        * @todo        Find a nice casting here. (int) allows until and including 32766.
 ./inc/classes/main/criteria/search/class_SearchCriteria.php:70:         * @todo        Find a nice casting here. (int) allows until and including 32766.
-./inc/classes/main/database/databases/class_LocalFileDatabase.php:300:  * @todo        Do some checks on the database directory and files here
-./inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php:426:       * @todo        Find something useful with this!
+./inc/classes/main/database/databases/class_LocalFileDatabase.php:302:  * @todo        Do some checks on the database directory and files here
+./inc/classes/main/decorator/template/class_XmlRewriterTemplateDecorator.php:427:       * @todo        Find something useful with this!
 ./inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php:88:        * @todo        0% done
 ./inc/classes/main/filter/change/class_EmailChangeFilter.php:54:        * @todo        Implement email change of the user here. HINT: Use the User class!
 ./inc/classes/main/filter/change/class_PasswordChangeFilter.php:55:     * @todo        Finished updating user password hash here. HINT: Use the User class again.
 ./inc/classes/main/discovery/payment/class_LocalPaymentDiscovery.php:88:        * @todo        0% done
 ./inc/classes/main/filter/change/class_EmailChangeFilter.php:54:        * @todo        Implement email change of the user here. HINT: Use the User class!
 ./inc/classes/main/filter/change/class_PasswordChangeFilter.php:55:     * @todo        Finished updating user password hash here. HINT: Use the User class again.
 ./inc/classes/main/response/image/class_ImageResponse.php:90:   * @todo        If the return statement is removed and setcookie() commented out,
 ./inc/classes/main/response/image/class_ImageResponse.php:91:   * @todo        this will send only one cookie out, the first one.
 ./inc/classes/main/result/class_DatabaseResult.php:229:         * @todo        0% done
 ./inc/classes/main/response/image/class_ImageResponse.php:90:   * @todo        If the return statement is removed and setcookie() commented out,
 ./inc/classes/main/response/image/class_ImageResponse.php:91:   * @todo        this will send only one cookie out, the first one.
 ./inc/classes/main/result/class_DatabaseResult.php:229:         * @todo        0% done
-./inc/classes/main/result/class_DatabaseResult.php:382:         * @todo        Find a caching way without modifying the result array
+./inc/classes/main/result/class_DatabaseResult.php:383:         * @todo        Find a caching way without modifying the result array
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:175:     * @todo        I had a better random number generator here but now it is somewhere lost :(
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:97:      * @todo        Add site key for stronger salt!
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:175:     * @todo        I had a better random number generator here but now it is somewhere lost :(
 ./inc/classes/main/rng/class_RandomNumberGenerator.php:97:      * @todo        Add site key for stronger salt!
-./inc/classes/main/template/class_BaseTemplateEngine.php:1002:  * @todo        Unfinished work or don't die here.
-./inc/classes/main/template/class_BaseTemplateEngine.php:1027:                         // @TODO Non-string found so we need some deeper analysis...
-./inc/classes/main/template/class_BaseTemplateEngine.php:1105:                 // @TODO This silent abort should be logged, maybe.
-./inc/classes/main/template/class_BaseTemplateEngine.php:1113:                 // @TODO Old behaviour, will become obsolete!
-./inc/classes/main/template/class_BaseTemplateEngine.php:1116:                 // @TODO Yet another old way
-./inc/classes/main/template/class_BaseTemplateEngine.php:1210:  * @todo        Make this code some nicer...
+./inc/classes/main/template/class_BaseTemplateEngine.php:1011:  * @todo        Unfinished work or don't die here.
+./inc/classes/main/template/class_BaseTemplateEngine.php:1036:                         // @TODO Non-string found so we need some deeper analysis...
+./inc/classes/main/template/class_BaseTemplateEngine.php:1114:                 // @TODO This silent abort should be logged, maybe.
+./inc/classes/main/template/class_BaseTemplateEngine.php:1122:                 // @TODO Old behaviour, will become obsolete!
+./inc/classes/main/template/class_BaseTemplateEngine.php:1125:                 // @TODO Yet another old way
+./inc/classes/main/template/class_BaseTemplateEngine.php:1225:  * @todo        Make this code some nicer...
 ./inc/classes/main/template/console/class_ConsoleTemplateEngine.php:10: * @todo                This template engine does not make use of setTemplateType()
 ./inc/classes/main/template/image/class_ImageTemplateEngine.php:215:    * @todo        Find something usefull with this!
 ./inc/classes/main/template/image/class_ImageTemplateEngine.php:235:    * @todo        Add cache creation here
 ./inc/classes/main/template/console/class_ConsoleTemplateEngine.php:10: * @todo                This template engine does not make use of setTemplateType()
 ./inc/classes/main/template/image/class_ImageTemplateEngine.php:215:    * @todo        Find something usefull with this!
 ./inc/classes/main/template/image/class_ImageTemplateEngine.php:235:    * @todo        Add cache creation here
 ### ### DEPRECATION FOLLOWS: ### ###
 ./application/hub/exceptions/hub/class_HubAlreadyAnnouncedException.php:2:// @DEPRECATED
 ./application/hub/interfaces/dht/class_Dht.php:2:// @DEPRECATED
 ### ### DEPRECATION FOLLOWS: ### ###
 ./application/hub/exceptions/hub/class_HubAlreadyAnnouncedException.php:2:// @DEPRECATED
 ./application/hub/interfaces/dht/class_Dht.php:2:// @DEPRECATED
+./application/hub/interfaces/helper/hub/class_HelpableHub.php:2:// @DEPRECATED
 ./application/hub/interfaces/nodes/class_NodeHelper.php:2:// @DEPRECATED
 ./application/hub/interfaces/nodes/class_NodeHelper.php:2:// @DEPRECATED
+./application/hub/interfaces/query/class_Queryable.php:2:// @DEPRECATED
+./application/hub/interfaces/queues/class_Queueable.php:2:// @DEPRECATED
+./application/hub/interfaces/visitor/connector/class_QueryConnectorVisitor.php:2:// @DEPRECATED
+./application/hub/interfaces/visitor/connector/class_QueueConnectorVisitor.php:2:// @DEPRECATED
+./application/hub/interfaces/visitor/query/class_QueryVisitor.php:2:// @DEPRECATED
+./application/hub/interfaces/visitor/queue/class_QueueVisitor.php:2:// @DEPRECATED
+./application/hub/interfaces/wrapper/class_NodeListWrapper.php:2:// @DEPRECATED
+./application/hub/main/connectors/class_BaseConnector.php:2:// @DEPRECATED
+./application/hub/main/connectors/query/class_BaseQueryConnector.php:2:// @DEPRECATED
+./application/hub/main/connectors/query/local/class_LocalQueryConnector.php:2:// @DEPRECATED
+./application/hub/main/connectors/queues/class_BaseQueueConnector.php:2:// @DEPRECATED
+./application/hub/main/connectors/queues/local/class_LocalQueueConnector.php:2:// @DEPRECATED
 ./application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php:2:// @DEPRECATED
 ./application/hub/main/database/wrapper/node/class_NodeListDatabaseWrapper.php:2:// @DEPRECATED
+./application/hub/main/filter/activation/node/class_NodeActivationSelfAnnouncementFilter.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/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_HubAnnouncementHelper.php:2:// @DEPRECATED
 ./application/hub/main/helper/hub/announcement/class_HubDescriptorHelper.php:2:// @DEPRECATED
 ./application/hub/main/helper/hub/announcement/class_HubDescriptorHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/answer/announcement/class_NodeAnnouncementMessageAnswerHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/answer/class_BaseHubAnswerHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/class_BaseHubHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/connection/class_HubSelfConnectHelper.php:2:// @DEPRECATED
+./application/hub/main/helper/hub/requests/class_NodeRequestNodeListHelper.php:2:// @DEPRECATED
+./application/hub/main/lists/query/local/class_LocalQueryList.php:2:// @DEPRECATED
 ./application/hub/main/nodes/class_BaseHubNode.php:56:  * @deprecated
 ./application/hub/main/nodes/class_BaseHubNode.php:56:  * @deprecated
+./application/hub/main/queries/class_BaseQuery.php:2:// @DEPRECATED
+./application/hub/main/queries/local/class_LocalQuery.php:2:// @DEPRECATED
+./application/hub/main/queues/class_BaseQueue.php:2:// @DEPRECATED
+./application/hub/main/queues/peer/class_LocalPeerQueue.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/announcement/class_HubSelfAnnouncementTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/chunks/class_HubChunkAssemblerTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/class_HubSelfConnectTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/announcement/class_HubSelfAnnouncementTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/chunks/class_HubChunkAssemblerTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/class_HubSelfConnectTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/decoder/class_HubPackageDecoderTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/ping/class_HubPingTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/decoder/class_HubPackageDecoderTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/ping/class_HubPingTask.php:2:// @DEPRECATED
 ./application/hub/main/tasks/hub/update/class_HubUpdateCheckTask.php:2:// @DEPRECATED
+./application/hub/main/template/bootstrap/class_XmlBootstrapTemplateEngine.php:2:// @DEPRECATED
 ./inc/classes/exceptions/main/class_MissingMethodException.php:14: * @deprecated       Please do no longer use this exception
 ./inc/classes/interfaces/database/backend/class_DatabaseFrontendInterface.php:2:// @DEPRECATED
 ./inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php:2:// @DEPRECATED
 ./inc/classes/exceptions/main/class_MissingMethodException.php:14: * @deprecated       Please do no longer use this exception
 ./inc/classes/interfaces/database/backend/class_DatabaseFrontendInterface.php:2:// @DEPRECATED
 ./inc/classes/interfaces/database/frontend/class_DatabaseFrontendInterface.php:2:// @DEPRECATED