<?php
+// Own namespace
+namespace Hub\Command\AptProxy;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'apt-proxy client' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Chat;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'chat client' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Crawler;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'crawler client' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Cruncher;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'cruncher client' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'main' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Miner;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'miner client' routine
*
<?php
+// Own namespace
+namespace Hub\Command\Index;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A command for the 'main' routine
*
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the apt-proxy program.
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the chat program.
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the crawler program.
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the cruncher, which is our very first hub
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* The default controller with news for e.g. home or news page
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the crawler program.
// Import framework stuff
use CoreFramework\Controller\BaseController;
use CoreFramework\Controller\Controller;
+use CoreFramework\Request\Requestable;
/**
* A console controller for the "continued hashing miner".
<?php
+// Own namespace
+namespace Hub\Cruncher;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-cruncher class for the '???' mode
*
<?php
+// Own namespace
+namespace Hub\Database\Frontend\Node\Information;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A database wrapper for node informations
*
<?php
// Own namespace
-namespace Hub\Database\Frontend\PeerState;
+namespace Hub\Database\Frontend\Node\PeerState;
// Import hub-specific sutff
use Hub\Tools\HubTools;
<?php
+// Own namespace
+namespace Hub\Factory\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A factory class for nodes
*
<?php
+// Own namespace
+namespace Hub\Filter\Activation\Node\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for hub activation
*
<?php
+// Own namespace
+namespace Hub\Filter\Activation\Node\Announcement;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* An Announcement filter for hub activation
*
<?php
+// Own namespace
+namespace Hub\AptProxy\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for apt-proxy
*
<?php
+// Own namespace
+namespace Hub\AptProxy\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for apt-proxy
*
<?php
+// Own namespace
+namespace Hub\AptProxy\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the apt-proxy
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\AptProxy\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping apt-proxy
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\AptProxy\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping apt-proxy
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\AptProxy\Activation;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenericActivation filter for bootstrapping proxy
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Chat\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping chats
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Chat\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping chat
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Chat\Activation;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenericActivation filter for bootstrapping chat
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Crawler\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping crawlers
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Crawler\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping crawler
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Crawler\Activation;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenericActivation filter for bootstrapping crawler
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Cruncher\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping crunchers
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Cruncher\Queue;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A BufferQueue filter for bootstrapping crunchers
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Cruncher\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping crunchers
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Cruncher\Activation;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenericActivation filter for bootstrapping crunchers
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Miner\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping miners
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Miner\Queue;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A BufferQueue filter for bootstrapping miners
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Miner\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping miners
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Miner\Activation;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenericActivation filter for bootstrapping miners
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for bootstrapping
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node\Extra;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ExtraBootstrapping filter for bootstrapping
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node\NodeId;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenerateNodeId filter for bootstrapping
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node\PrivateKey;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GeneratePrivateKey filter for bootstrapping
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A GenerateSessionId filter for bootstrapping
*
<?php
+// Own namespace
+namespace Hub\Filter\Bootstrap\Node\Pool;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ListenerPool filter for bootstrapping
*
--- /dev/null
+<?php
+// Own namespace
+namespace Hub\Filter\Chat\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
+/**
+ * A ??? filter for crunchers
+ *
+ * @author Roland Haeder <webmaster@ship-simu.org>
+ * @version 0.0.0
+ * @copyright Copyright (c) 2011 - 2014 Cruncher 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 Cruncher???Filter extends BaseCruncherFilter 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 final static function createCruncher???Filter () {
+ // Get a new instance
+ $filterInstance = new Cruncher???Filter();
+
+ // 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
+ * @todo 0% done
+ */
+ public function execute (Requestable $requestInstance, Responseable $responseInstance) {
+ // Implement this!
+ $this->partialStub('Please implement this method.');
+ }
+}
+
+// [EOF]
+?>
<?php
+// Own namespace
+namespace Hub\Chat\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for chat
*
<?php
+// Own namespace
+namespace Hub\Chat\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for chat
*
<?php
+// Own namespace
+namespace Hub\Chat\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the chat
*
<?php
+// Own namespace
+namespace Hub\Filter\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for !!!
*
<?php
+// Own namespace
+namespace Hub\Crawler\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for crawler
*
<?php
+// Own namespace
+namespace Hub\Crawler\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for crawler
*
<?php
+// Own namespace
+namespace Hub\Crawler\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the crawler
*
<?php
+// Own namespace
+namespace Hub\Filter\Cruncher\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for crunchers
*
<?php
+// Own namespace
+namespace Hub\Cruncher\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for crunchers
*
<?php
+// Own namespace
+namespace Hub\Cruncher\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for crunchers
*
<?php
+// Own namespace
+namespace Hub\Cruncher\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the cruncher
*
<?php
+// Own namespace
+namespace Hub\Filter\Miner\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for miners
*
<?php
+// Own namespace
+namespace Hub\Miner\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for miners
*
<?php
+// Own namespace
+namespace Hub\Miner\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for miners
*
<?php
+// Own namespace
+namespace Hub\Miner\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the miner
*
<?php
+// Own namespace
+namespace Hub\Filter\Node\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for nodes
*
<?php
+// Own namespace
+namespace Hub\Node\Filter\Initialization;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A Initialization filter for nodes
*
<?php
+// Own namespace
+namespace Hub\Node\Filter\Requirements;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A PhpRequirements filter for nodes
*
<?php
+// Own namespace
+namespace Hub\Node\Filter\WelcomeTeaser;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A welcome-teaser filter for the console
*
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\AptProxy;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A shutdown filter for shutting down the apt-proxy. This filter should be the
* last one in 'shutdown' chain so the apt-proxy is shutted down at the very
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Chat;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A shutdown filter for shutting down the chat console. This filter should be
* the last one in 'shutdown' chain so the chat is shutted down at the very end
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Crawler;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A shutdown filter for shutting down the crawler. This filter should be the
* last one in 'shutdown' chain so the crawler is shutted down at the very end
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Cruncher;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A shutdown filter for shutting down the cruncher. This filter should be the
* last one in 'shutdown' chain so the hub is shutted down at the very end of
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Miner;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A shutdown filter for shutting down the miner. This filter should be the
* last one in 'shutdown' chain so the hub is shutted down at the very end of
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Node\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ??? filter for shutting down the node.
*
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Node\NodeList;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A FlushNodeList filter for shutting down the node.
*
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A ShutdownNode filter for shutting down the node. This filter should be the
* last one in 'shutdown' chain so the hub is shutted down at the very end of
<?php
+// Own namespace
+namespace Hub\Filter\Shutdown\Node\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandler filter for shutting down the node.
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Answer\Announcement;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A AnnouncementAnswerTag filter for Package
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Answer\Dht\Bootstrap;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A DhtBootstrapAnswerTag filter for Package
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Answer\Request\NodeList;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A RequestNodeListAnswerTag filter for Package
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Announcement;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A AnnouncementTag filter for packages
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Dht\Bootstrap;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A DhtBootstrapTag filter for packages
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\Request\NodeList;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A RequestNodeListTag filter for packages
*
<?php
+// Own namespace
+namespace Hub\Filter\Tag\Network\SelfConnect;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A SelfConnectTag filter for packages
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\AptProxy\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for apt-proxy
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\Chat\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for chat
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\Crawler\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for crawler
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\Cruncher\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for crunchers
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\Miner\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for miners
*
<?php
+// Own namespace
+namespace Hub\Filter\Initializer\Node\Handler\Task;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A TaskHandlerInitializer filter for hubs
*
<?php
+// Own namespace
+namespace Hub\Miner;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-miner class for the '???' mode
*
<?php
+// Own namespace
+namespace Hub\Node\Boot;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-node class for the 'Boot' mode
*
<?php
+// Own namespace
+namespace Hub\Node\;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-node class for the '???' mode
*
// Import framework stuff
use CoreFramework\Object\BaseFrameworkSystem;
+use CoreFramework\Request\Requestable;
+use CoreFramework\Response\Responseable;
/**
* A general hub node class
<?php
+// Own namespace
+namespace Hub\Node\Backup;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-node class for the 'List' mode
*
<?php
+// Own namespace
+namespace Hub\Node\Master;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-node class for the 'Master' mode
*
<?php
+// Own namespace
+namespace Hub\Node\Regular;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* A hub-node class for the 'regular' mode
*
<?php
+// Own namespace
+namespace Hub\Database\Frontend\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* An interface for node-information (database) wrapper
*
<?php
+// Own namespace
+namespace Hub\Helper\Node;
+
+// Import framework stuff
+use CoreFramework\Request\Requestable;
+
/**
* An interface for "node-helper" classes
*