From 5d61202b79d311af10901fbc56cf9d8724a77e3e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 03:54:11 +0200 Subject: [PATCH] Next wave: - imported Registerable, DatabaseWrapperFactory - created namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../apt-proxy/console/class_NodeConsoleAptProxy.php | 1 + .../hub/classes/chat/console/class_NodeConsoleChat.php | 1 + .../crawler/class_CrawlerNodeCommunicator.php | 6 ++++++ .../communicator/miner/class_MinerNodeCommunicator.php | 6 ++++++ .../classes/crawler/console/class_NodeConsoleCrawler.php | 1 + .../classes/cruncher/mcrypt/class_HubMcryptCruncher.php | 1 + .../cruncher/class_CruncherUnitDatabaseWrapper.php | 1 + .../class_NodeDistributedHashTableDatabaseWrapper.php | 1 + .../node/class_NodeInformationDatabaseWrapper.php | 1 + .../hub/classes/decoder/package/class_PackageDecoder.php | 6 ++++++ application/hub/classes/dht/node/class_NodeDhtFacade.php | 2 ++ .../node/class_UniversalNodeLocatorDiscovery.php | 3 +++ .../discovery/protocol/class_ProtocolDiscovery.php | 6 ++++++ .../recipient/dht/class_DhtRecipientDiscovery.php | 3 +++ .../recipient/package/class_PackageRecipientDiscovery.php | 3 +++ .../recipient/socket/class_PackageSocketDiscovery.php | 1 + .../class_NodeAnnouncementAnswerOkayHandler.php | 1 + .../requests/class_RequestNodeListAnswerOkayHandler.php | 3 +++ .../hub/classes/handler/chunks/class_ChunkHandler.php | 1 + .../announcement/class_NodeMessageAnnouncementHandler.php | 1 + .../answer/class_NodeMessageAnnouncementAnswerHandler.php | 1 + .../answer/class_NodeMessageDhtBootstrapAnswerHandler.php | 1 + .../class_NodeMessageRequestNodeListAnswerHandler.php | 1 + .../dht/class_NodeMessageDhtBootstrapHandler.php | 1 + .../requests/class_NodeMessageRequestNodeListHandler.php | 1 + .../self-connect/class_NodeMessageSelfConnectHandler.php | 1 + .../protocol/ipv4/tcp/class_TcpProtocolHandler.php | 6 ++++++ .../helper/connection/class_BaseConnectionHelper.php | 1 + .../hub/classes/info/connection/class_ConnectionInfo.php | 6 ++++++ .../iterator/pool/monitor/class_MonitorPoolIterator.php | 6 ++++++ .../iterator/pool/tasks/class_TaskPoolIterator.php | 6 ++++++ .../hub/classes/lists/recipient/class_RecipientList.php | 6 ++++++ .../hub/classes/miner/chash/class_HubCoinMiner.php | 1 + application/hub/classes/nodes/boot/class_HubBootNode.php | 1 + application/hub/classes/nodes/class_BaseHubNode.php | 1 + application/hub/classes/nodes/list/class_HubListNode.php | 1 + .../hub/classes/nodes/master/class_HubMasterNode.php | 1 + .../hub/classes/nodes/regular/class_HubRegularNode.php | 1 + .../classes/package/assembler/class_PackageAssembler.php | 1 + application/hub/classes/package/class_NetworkPackage.php | 1 + .../package/fragmenter/class_PackageFragmenter.php | 1 + .../producer/cruncher/keys/class_CruncherKeyProducer.php | 1 + .../work_units/class_CruncherTestUnitProducer.php | 2 ++ .../miner/blocks/class_MinerRealGenesisBlockProducer.php | 1 + .../hub/classes/registry/socket/class_SocketRegistry.php | 1 + .../resolver/protocol/tcp/class_TcpProtocolResolver.php | 1 + .../uploaded_list/class_CrawlerUploadedListScanner.php | 6 ++++++ .../hub/classes/source/units/class_TestUnitSource.php | 1 + .../source/urls/class_CrawlerFoundRssUrlSource.php | 6 ++++++ .../source/urls/class_CrawlerLocalStartUrlSource.php | 6 ++++++ .../source/urls/class_CrawlerRssStartUrlSource.php | 6 ++++++ .../source/urls/class_CrawlerUploadedListUrlSource.php | 1 + application/hub/classes/tags/class_BaseTag.php | 3 +++ .../announcement/class_XmlAnnouncementTemplateEngine.php | 6 ++++++ .../class_XmlAnnouncementAnswerTemplateEngine.php | 6 ++++++ .../template/answer/class_BaseXmlAnswerTemplateEngine.php | 6 ++++++ .../dht/class_XmlDhtBootstrapAnswerTemplateEngine.php | 6 ++++++ .../class_XmlRequestNodeListAnswerTemplateEngine.php | 6 ++++++ .../connect/class_XmlSelfConnectTemplateEngine.php | 6 ++++++ .../template/dht/class_XmlDhtBootstrapTemplateEngine.php | 6 ++++++ .../class_XmlRequestNodeListEntryTemplateEngine.php | 6 ++++++ .../objects/class_XmlObjectRegistryTemplateEngine.php | 3 ++- .../class_XmlCruncherTestUnitTemplateEngine.php | 6 ++++++ .../publish/class_XmlDhtPublishEntryTemplateEngine.php | 6 ++++++ .../requests/class_XmlRequestNodeListTemplateEngine.php | 8 +++++++- 65 files changed, 199 insertions(+), 2 deletions(-) diff --git a/application/hub/classes/apt-proxy/console/class_NodeConsoleAptProxy.php b/application/hub/classes/apt-proxy/console/class_NodeConsoleAptProxy.php index aedd80be7..8432d9bbe 100644 --- a/application/hub/classes/apt-proxy/console/class_NodeConsoleAptProxy.php +++ b/application/hub/classes/apt-proxy/console/class_NodeConsoleAptProxy.php @@ -4,6 +4,7 @@ namespace Hub\AptProxy; // Import framework stuff use CoreFramework\Controller\Controller; +use CoreFramework\Registry\Registerable; use CoreFramework\Response\Responseable; /** diff --git a/application/hub/classes/chat/console/class_NodeConsoleChat.php b/application/hub/classes/chat/console/class_NodeConsoleChat.php index cb8e31657..f179307dc 100644 --- a/application/hub/classes/chat/console/class_NodeConsoleChat.php +++ b/application/hub/classes/chat/console/class_NodeConsoleChat.php @@ -4,6 +4,7 @@ namespace Hub\Chat; // Import framework stuff use CoreFramework\Controller\Controller; +use CoreFramework\Registry\Registerable; use CoreFramework\Response\Responseable; /** diff --git a/application/hub/classes/communicator/crawler/class_CrawlerNodeCommunicator.php b/application/hub/classes/communicator/crawler/class_CrawlerNodeCommunicator.php index bfbc4c364..699af2d9f 100644 --- a/application/hub/classes/communicator/crawler/class_CrawlerNodeCommunicator.php +++ b/application/hub/classes/communicator/crawler/class_CrawlerNodeCommunicator.php @@ -1,4 +1,10 @@ node communicator class * diff --git a/application/hub/classes/communicator/miner/class_MinerNodeCommunicator.php b/application/hub/classes/communicator/miner/class_MinerNodeCommunicator.php index 5ffb67c4c..839e3ad54 100644 --- a/application/hub/classes/communicator/miner/class_MinerNodeCommunicator.php +++ b/application/hub/classes/communicator/miner/class_MinerNodeCommunicator.php @@ -1,4 +1,10 @@ node communicator class * diff --git a/application/hub/classes/crawler/console/class_NodeConsoleCrawler.php b/application/hub/classes/crawler/console/class_NodeConsoleCrawler.php index 4d10ae262..192d3e577 100644 --- a/application/hub/classes/crawler/console/class_NodeConsoleCrawler.php +++ b/application/hub/classes/crawler/console/class_NodeConsoleCrawler.php @@ -4,6 +4,7 @@ namespace Hub\Crawler; // Import framework stuff use CoreFramework\Controller\Controller; +use CoreFramework\Registry\Registerable; use CoreFramework\Response\Responseable; /** diff --git a/application/hub/classes/cruncher/mcrypt/class_HubMcryptCruncher.php b/application/hub/classes/cruncher/mcrypt/class_HubMcryptCruncher.php index c35977bbe..beca8241d 100644 --- a/application/hub/classes/cruncher/mcrypt/class_HubMcryptCruncher.php +++ b/application/hub/classes/cruncher/mcrypt/class_HubMcryptCruncher.php @@ -5,6 +5,7 @@ namespace Hub\Cruncher\Mcrypt; // Import framework stuff use CoreFramework\Controller\Controller; use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Registry\Registerable; use CoreFramework\Response\Responseable; /** diff --git a/application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php b/application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php index eefacad0b..f659a3e88 100644 --- a/application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php @@ -4,6 +4,7 @@ namespace Hub\Database\Frontend\Cruncher\Unit; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Registry\Registerable; /** * A database wrapper for cruncher work/test units diff --git a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php index b41984318..79e850872 100644 --- a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php @@ -9,6 +9,7 @@ use Hub\Node\BaseHubNode; // Import framework stuff use CoreFramework\Criteria\Storing\StoreableCriteria; use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Registry\Registerable; /** * A database wrapper for distributed hash tables diff --git a/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php b/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php index 499e2a561..4c905e93a 100644 --- a/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php @@ -8,6 +8,7 @@ use Hub\Node\Helper\NodeHelper; // Import framework stuff use CoreFramework\Factory\ObjectFactory; +use CoreFramework\Registry\Registerable; use CoreFramework\Request\Requestable; /** diff --git a/application/hub/classes/decoder/package/class_PackageDecoder.php b/application/hub/classes/decoder/package/class_PackageDecoder.php index cf2ef7027..13e6396f3 100644 --- a/application/hub/classes/decoder/package/class_PackageDecoder.php +++ b/application/hub/classes/decoder/package/class_PackageDecoder.php @@ -1,4 +1,10 @@ * @version 0.0.0 -- 2.39.5