From 31212a4feed0b6f3f099d514483d72f87348c6d2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 03:27:39 +0200 Subject: [PATCH] Next wave: - imported Taskable, Visitable as they mostly appear in pairs - created more namespaces MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../factories/scanner/class_ScannerObjectFactory.php | 1 + .../factories/source/url/class_UrlSourceObjectFactory.php | 2 ++ application/hub/classes/nodes/class_BaseHubNode.php | 2 ++ .../classes/tasks/apt-proxy/class_AptProxyListenerTask.php | 7 +++++++ .../classes/tasks/chat/class_ChatTelnetListenerTask.php | 7 +++++++ .../communicator/class_CrawlerNodeCommunicatorTask.php | 2 ++ .../document_parser/class_CrawlerDocumentParserTask.php | 7 +++++++ .../crawler/mime_sniffer/class_CrawlerMimeSnifferTask.php | 7 +++++++ .../classes/tasks/crawler/ping/class_CrawlerPingTask.php | 7 +++++++ .../publisher/class_CrawlerRemoteJobPublisherTask.php | 7 +++++++ .../uploaded_list/class_CrawlerUploadedListScannerTask.php | 6 +++++- .../class_CrawlerSnippetExtractorTask.php | 7 +++++++ .../class_CrawlerStructureAnalyzerTask.php | 7 +++++++ .../url_crawler/local/class_CrawlerLocalUrlCrawlerTask.php | 7 +++++++ .../remote/class_CrawlerRemoteUrlCrawlerTask.php | 7 +++++++ .../url_source/class_CrawlerUrlSourceFoundRssTask.php | 7 +++++++ .../url_source/class_CrawlerUrlSourceLocalStartTask.php | 7 +++++++ .../url_source/class_CrawlerUrlSourceRssStartTask.php | 7 +++++++ .../url_source/class_CrawlerUrlSourceUploadedListTask.php | 7 +++++++ .../tasks/cruncher/class_CruncherKeyProducerTask.php | 7 +++++++ .../tasks/cruncher/class_CruncherTestUnitProducerTask.php | 7 +++++++ .../tasks/cruncher/class_CruncherWorkUnitFetcherTask.php | 2 ++ .../miner/block_fetcher/class_MinerBlockFetcherTask.php | 2 ++ .../class_MinerRealGenesisBlockProducerTask.php | 2 ++ .../class_MinerTestGenesisBlockProducerTask.php | 7 +++++++ .../miner/communicator/class_MinerNodeCommunicatorTask.php | 7 +++++++ .../tasks/network/class_NetworkPackageReaderTask.php | 7 +++++++ .../tasks/network/class_NetworkPackageWriterTask.php | 7 +++++++ .../tasks/node/announcement/class_NodeAnnouncementTask.php | 4 ++++ .../tasks/node/chunks/class_NodeChunkAssemblerTask.php | 7 +++++++ application/hub/classes/tasks/node/class_Node | 6 ++++++ .../tasks/node/decoder/class_NodePackageDecoderTask.php | 7 +++++++ .../classes/tasks/node/dht/class_NodeDhtBootstrapTask.php | 4 ++++ .../tasks/node/dht/class_NodeDhtInitializationTask.php | 4 ++++ .../tasks/node/dht/class_NodeDhtLateBootstrapTask.php | 4 ++++ .../tasks/node/dht/class_NodeDhtPublicationCheckTask.php | 4 ++++ .../tasks/node/dht/class_NodeDhtPublicationTask.php | 4 ++++ .../hub/classes/tasks/node/dht/class_NodeDhtQueryTask.php | 4 ++++ .../tasks/node/listener/class_NodeSocketListenerTask.php | 4 ++++ .../hub/classes/tasks/node/ping/class_NodePingTask.php | 7 +++++++ .../tasks/node/self_connect/class_NodeSelfConnectTask.php | 4 ++++ .../tasks/node/tags/class_NodePackageTagsInitTask.php | 7 +++++++ .../tasks/node/update/class_NodeUpdateCheckTask.php | 7 +++++++ .../hub/interfaces/helper/nodes/class_NodeHelper.php | 1 + 44 files changed, 236 insertions(+), 1 deletion(-) diff --git a/application/hub/classes/factories/scanner/class_ScannerObjectFactory.php b/application/hub/classes/factories/scanner/class_ScannerObjectFactory.php index c91c0ecd2..21cd7fffb 100644 --- a/application/hub/classes/factories/scanner/class_ScannerObjectFactory.php +++ b/application/hub/classes/factories/scanner/class_ScannerObjectFactory.php @@ -5,6 +5,7 @@ namespace Hub\Factory\Scanner; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registry; +use CoreFramework\Task\Taskable; /** * A factory class for scanners diff --git a/application/hub/classes/factories/source/url/class_UrlSourceObjectFactory.php b/application/hub/classes/factories/source/url/class_UrlSourceObjectFactory.php index 22d8876f7..00d84c908 100644 --- a/application/hub/classes/factories/source/url/class_UrlSourceObjectFactory.php +++ b/application/hub/classes/factories/source/url/class_UrlSourceObjectFactory.php @@ -5,6 +5,8 @@ namespace Hub\Source\Url; // Import framework stuff use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registry; +use CoreFramework\Task\Taskable; +use CoreFramework\Visitor\Visitable; /** * A factory class for URL sources diff --git a/application/hub/classes/nodes/class_BaseHubNode.php b/application/hub/classes/nodes/class_BaseHubNode.php index 8b0dba6bf..c702b210e 100644 --- a/application/hub/classes/nodes/class_BaseHubNode.php +++ b/application/hub/classes/nodes/class_BaseHubNode.php @@ -15,6 +15,8 @@ use CoreFramework\Object\BaseFrameworkSystem; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Response\Responseable; +use CoreFramework\Task\Taskable; +use CoreFramework\Visitor\Visitable; /** * A general hub node class diff --git a/application/hub/classes/tasks/apt-proxy/class_AptProxyListenerTask.php b/application/hub/classes/tasks/apt-proxy/class_AptProxyListenerTask.php index e2fc309eb..41e2263ee 100644 --- a/application/hub/classes/tasks/apt-proxy/class_AptProxyListenerTask.php +++ b/application/hub/classes/tasks/apt-proxy/class_AptProxyListenerTask.php @@ -1,4 +1,11 @@