From 3aa1022cd91d93451f875fd1b9af54170816dbcb Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 03:01:23 +0200 Subject: [PATCH] Next wave: - imported Updateable - imported (Addable|Storeable)Criteria MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- application/hub/classes/cruncher/class_BaseHubCruncher.php | 1 + .../node/class_NodeDistributedHashTableDatabaseWrapper.php | 1 + .../states/class_PeerStateLookupDatabaseWrapper.php | 1 + .../announcement/class_NodeMessageAnnouncementHandler.php | 3 +++ .../answer/class_NodeMessageAnnouncementAnswerHandler.php | 3 +++ .../answer/class_NodeMessageDhtBootstrapAnswerHandler.php | 3 +++ .../class_NodeMessageRequestNodeListAnswerHandler.php | 3 +++ application/hub/classes/handler/message-types/class_ | 6 ++++++ .../dht/class_NodeMessageDhtBootstrapHandler.php | 3 +++ .../requests/class_NodeMessageRequestNodeListHandler.php | 3 +++ .../self-connect/class_NodeMessageSelfConnectHandler.php | 3 +++ application/hub/classes/miner/class_BaseHubMiner.php | 1 + application/hub/classes/nodes/class_BaseHubNode.php | 3 +++ .../handler/answer-status/class_HandleableAnswerStatus.php | 6 ++++++ .../hub/interfaces/helper/nodes/class_NodeHelper.php | 1 + 15 files changed, 41 insertions(+) diff --git a/application/hub/classes/cruncher/class_BaseHubCruncher.php b/application/hub/classes/cruncher/class_BaseHubCruncher.php index a74852cea..9c3023760 100644 --- a/application/hub/classes/cruncher/class_BaseHubCruncher.php +++ b/application/hub/classes/cruncher/class_BaseHubCruncher.php @@ -6,6 +6,7 @@ namespace Hub\Cruncher; use Hub\Generic\BaseHubSystem; // Import framework stuff +use CoreFramework\Database\Updateable; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Object\BaseFrameworkSystem; use CoreFramework\Registry\Registry; diff --git a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php index 24232404b..aeae4e35b 100644 --- a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php @@ -6,6 +6,7 @@ namespace Hub\Database\Frontend\Node\Dht; use Hub\Factory\Node\NodeObjectFactory; // Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; use CoreFramework\Factory\ObjectFactory; /** diff --git a/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php b/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php index a7bbe4e82..5b8a37d81 100644 --- a/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php @@ -6,6 +6,7 @@ namespace Hub\Database\Frontend\Node\PeerState; use Hub\Tools\HubTools; // Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; use CoreFramework\Factory\ObjectFactory; /** diff --git a/application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php b/application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php index 8dba472f9..8cd9faab4 100644 --- a/application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php +++ b/application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php @@ -6,6 +6,9 @@ namespace Hub\Handler\Node\Message\Announcement; use Hub\Factory\Node\NodeObjectFactory; use Hub\Generic\BaseHubSystem; +// Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; + /** * A NodeMessageAnnouncement handler * diff --git a/application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php b/application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php index 0b5a64b61..8bd1cf9d9 100644 --- a/application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php +++ b/application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php @@ -5,6 +5,9 @@ namespace Hub\Handler\Node\Answer\Announcement; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +// Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; + /** * A NodeMessageAnnouncementAnswer handler * diff --git a/application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php b/application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php index 730df8e88..1d71aa516 100644 --- a/application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php +++ b/application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php @@ -5,6 +5,9 @@ namespace Hub\Handler\Answer\Node\DhtBootstrap; // Import application-specific stuff use Hub\Factory\Dht\DhtObjectFactory; +// Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; + /** * A NodeMessageDhtBootstrapAnswer handler * diff --git a/application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php b/application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php index e5f3c4683..5621a1a10 100644 --- a/application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php +++ b/application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php @@ -5,6 +5,9 @@ namespace Hub\Handler\Node\Answer\Request\NodeList; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; +// Import framework stuff +use CoreFramework\Criteria\Storing\StoreableCriteria; + /** * A NodeMessageRequestNodeListAnswer handler * diff --git a/application/hub/classes/handler/message-types/class_ b/application/hub/classes/handler/message-types/class_ index 4853fd41d..0a4077e16 100644 --- a/application/hub/classes/handler/message-types/class_ +++ b/application/hub/classes/handler/message-types/class_ @@ -1,4 +1,10 @@