]> git.mxchange.org Git - hub.git/commitdiff
Next wave:
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 01:38:52 +0000 (03:38 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:00 +0000 (18:50 +0200)
- imported Receivable
- imported HandleableTask
- created namespaces

Signed-off-by: Roland Häder <roland@mxchange.org>
32 files changed:
application/hub/classes/chains/class_PackageFilterChain.php
application/hub/classes/class_BaseHubSystem.php
application/hub/classes/factories/package/assembler/class_PackageAssemblerFactory.php
application/hub/classes/filter/class_BaseHubFilter.php
application/hub/classes/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php
application/hub/classes/filter/tags/answer/class_PackageDhtBootstrapAnswerTagFilter.php
application/hub/classes/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php
application/hub/classes/filter/tags/class_PackageDhtBootstrapTagFilter.php
application/hub/classes/filter/tags/class_PackageRequestNodeListTagFilter.php
application/hub/classes/filter/tags/class_PackageSelfConnectTagFilter.php
application/hub/classes/handler/answer-status/announcement/class_NodeAnnouncementAnswerOkayHandler.php
application/hub/classes/handler/answer-status/requests/class_RequestNodeListAnswerOkayHandler.php
application/hub/classes/handler/message-types/announcement/class_NodeMessageAnnouncementHandler.php
application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php
application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php
application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php
application/hub/classes/handler/message-types/class_BaseMessageHandler.php
application/hub/classes/handler/message-types/dht/class_NodeMessageDhtBootstrapHandler.php
application/hub/classes/handler/message-types/requests/class_NodeMessageRequestNodeListHandler.php
application/hub/classes/handler/message-types/self-connect/class_NodeMessageSelfConnectHandler.php
application/hub/classes/nodes/boot/class_HubBootNode.php
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/nodes/list/class_HubListNode.php
application/hub/classes/nodes/master/class_HubMasterNode.php
application/hub/classes/nodes/regular/class_HubRegularNode.php
application/hub/classes/package/assembler/class_PackageAssembler.php
application/hub/classes/package/class_NetworkPackage.php
application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php
application/hub/interfaces/filter/class_FilterablePackage.php
application/hub/interfaces/handler/answer-status/class_HandleableAnswerStatus.php
application/hub/interfaces/handler/message-types/class_HandleableMessage.php
application/hub/interfaces/helper/nodes/class_NodeHelper.php

index 34ac967bb1fcee01fb35746b5852bc781fe22f5b..862a061aee837ca68f85efb58ba4c82884c219a5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\FilterChain\Package;
+
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 /**
  * A filter chain for processing network packages (or better messages)
  *
index 5b43e68f3e34cb12b1f409b30d32e1c6417926d4..2ddfc6aedabe9175c502a5d1a565c356575184ff 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Generic;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Object\BaseFrameworkSystem;
 
index ef14597f5cffe9ba86358ddcb0c4012ca96e45ea..904837f8b1c488b509c9cdcfb2030679bab00fa0 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Factory\Assembler\Package;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Registry\Registry;
index 894db9e356c432028e7d5bad57059acb925b054e..c6a11ffd45a81893f4995584964ad965c632a2b0 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Filter;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Filter\BaseFilter;
 
index ca98e7bada64926188f553b5c1b2cee20f71f9af..867fcb545c7c0558ac975033cc4380ee6352b88a 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\Answer\Announcement;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 18908f4cb80a821206c51831506a8be78ce1149d..1b009dbb47e6e6ab988fd12526e0d28f02464614 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\Answer\Dht\Bootstrap;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 91bd0daad3a463f27f297aa8e0899a7ca88bf1c4..1ad70f6f6ee9b871e15a034ee0209835e41a3b99 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\Answer\Request\NodeList;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 2b4d5f2718272c2fa08a0f4778b8c14afb49c3a2..f309d7e8878ec18ce0b19453debb0cc03e1e4bf9 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\Dht\Bootstrap;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index c141303028f709df75e14280478f55e5cb730c51..c5ee1c001e6e63480eb5ea7b8e9d0085b1ea3155 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\Request\NodeList;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 7b6b369369bc3456a4582294877c923444370cbd..7f3c809d4c4c0bd322145215da46c3e57bb92b55 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Filter\Tag\Network\SelfConnect;
 
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 1758c9b828b2e76aafd7d4338c683a64648a0bc6..8129b43f4d908706e8f0cb85b90672818a66423c 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Node\Announcement\Answer;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 use Hub\Node\BaseHubNode;
 
 // Import framework stuff
index 128dbc3004265ef052fc8a310c147ff43b1ec3f9..b9447817d4cc65f1f5b16d89b2c319424e916f45 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Handler\Answer\Okay\NodeList;
+
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 /**
  * A RequestNodeListAnswerOkay handler
  *
index 8cd9faab49da58a5073a22e364e72e0980e74627..3babb9f27d7d6a8e28f43ff2e874956cd21f168a 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Handler\Node\Message\Announcement;
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Generic\BaseHubSystem;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 8bd1cf9d9e72a0fe06aec1a8a207340fa0f9c9d5..13448afb8b9f63b2eb6ec624b9248ef7886267f7 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Node\Answer\Announcement;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 1d71aa5163517c9cdc9555ec36c49f19bdf2b6ef..a02bac04f77a77e5ee3c619b98c9c1f69b7e6665 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Answer\Node\DhtBootstrap;
 
 // Import application-specific stuff
 use Hub\Factory\Dht\DhtObjectFactory;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 5621a1a102477fedadd47051cb3e33768f49d213..90d00b60e68b05a63a98d4a19be6cd977f901e64 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Node\Answer\Request\NodeList;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 9ecd0ac0db7393b234743003ce64755131761fe7..1dc6648932f8798751d62516ab40dedba5fe1141 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Message;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
+use Hub\Network\Receive\Receivable;
 
 /**
  * A general message handler, this class must be abstract to make the template
index 5141d202ab69996f0fc9e53dbaa5263e0a59e83c..0f019f0f8c487c2302283b314725b8ca4aedbff9 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Handler\Node\Answer\Dht\Bootstrap;
 // Import application-specific stuff
 use Hub\Factory\Dht\DhtObjectFactory;
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index c5bfdd49198be71045a91125225fff8f510fd251..4eb9e529995f416dba18efcc3941922ba48db881 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Node\Message\Request\NodeList;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 use Hub\Node\BaseHubNode;
 
 // Import framework stuff
index 5bf06f87648d1cb3339ba8f38cea120494d6a81f..3ca3660051c4102f3bd50752789a6a6f8be62d5c 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Node\Message\SelfConnect;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index bdce925ba2dc0691fd527f41161913eb8a3f0c2a..aa8390b12ae1067093801e55d24dbd48599bffb4 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Node\Helper\NodeHelper;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Handler\Task\HandleableTask;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 
index c702b210e577cd069e63ed49df9db6cda5def5e6..2db4ce189564773c43c0db78008ee0614cc52351 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Node;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
+use Hub\Network\Receive\Receivable;
 use Hub\Tools\HubTools;
 
 // Import framework stuff
index b0a07f361d5c3d62054e88e1c3bac94b31dd6332..d266f9b26bed3da5ed5c989a2d4f1305deb21087 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Node\Helper\NodeHelper;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Handler\Task\HandleableTask;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 
index add6205b1df4868cc58cfb4827af379fecf770e5..77fedee7385631589757fdf6b07a89c4dd304412 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Node\Helper\NodeHelper;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Handler\Task\HandleableTask;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 
index dbca4284b01f77d020599996ceca37b9b775614b..d19ca84b19e063b3674ace0c079d1c59bf770377 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Node\Helper\NodeHelper;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Handler\Task\HandleableTask;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 
index 1563d506806b96ad35d99132f7cc861f6261396a..009ca2cc56fd9cc11158f5b493b0befb98110f4d 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Network\Package\Assembler;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
+use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
index c4648be8a523dd5ed9b6cb657a0e2f49e12db217..3cd2cbec92c222ab2e958521efb29b9ebc4168ba 100644 (file)
@@ -7,6 +7,7 @@ use Hub\Factory\Assembler\Package\PackageAssemblerFactory;
 use Hub\Factory\Dht\DhtObjectFactory;
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Generic\BaseHubSystem;
+use Hub\Network\Receive\Receivable;
 use Hub\Tools\HubTools;
 
 // Import framework stuff
index 54f09bd2982e89c7a216117eeb2d1b4880f32ab1..a2da41e71ba0422cf858934fd5d1399fc76ca9fe 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Visitor\Monitor\Pool;
+
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 /**
  * A RawDataMonitor visitor
  *
index 5e2913477fbcc386c0d3308eaac2be1a27fd7913..7f51644905ebed046d7b7632d473d363b8e71df3 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Filter\Network;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
 
index 3f12c65bb221cc2aa5bcfaa9d488e186c9feab92..452a621702334a9985573cf12976405e061e0d79 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\AnswerStatus\Node;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
 
index 2f762198572a017b6b254938da6d6794428e8987..c92805b042d00cb591e205bbcf7cd4f1f4ba5758 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Handler\Message;
+
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 /**
  * An interface for message handlers
  *
index aab811a5c05ff7e723300f59b7d12b451a581cc6..9ce9dc181e4046655da25eb799ae1e5ce867ec1b 100644 (file)
@@ -2,8 +2,12 @@
 // Own namespace
 namespace Hub\Node\Helper;
 
+// Import application-specific stuff
+use Hub\Network\Receive\Receivable;
+
 // Import framework stuff
 use CoreFramework\Criteria\Add\AddableCriteria;
+use CoreFramework\Handler\Task\HandleableTask;
 use CoreFramework\Helper\Helper;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;