]> git.mxchange.org Git - hub.git/commitdiff
Continued a bit:
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 14:56:24 +0000 (16:56 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:01 +0000 (18:50 +0200)
- imported UnsupportedOperationException
- "implemented" methods (empty) required by Discoverable

Signed-off-by: Roland Häder <roland@mxchange.org>
14 files changed:
application/hub/classes/discovery/class_BaseNodeDiscovery.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_PackageAnnouncementTagFilter.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/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/self-connect/class_NodeMessageSelfConnectHandler.php
application/hub/classes/iterator/producer/keys/class_TestUnitKeyProducerIterator.php
application/hub/classes/listener/tcp/class_TcpListener.php

index 57c8d96c308b648c7b4e940b70752c49abfcb2aa..8623bdbabe50c02ee6a70600247fe9b09d798517 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Discovery\Node;
 // Import framework stuff
 use CoreFramework\Discovery\BaseDiscovery;
 use CoreFramework\Discovery\Discoverable;
+use CoreFramework\Generic\UnsupportedOperationException;
 
 /**
  * A general node discovery class
@@ -40,4 +41,27 @@ class BaseNodeDiscovery extends BaseDiscovery implements Discoverable {
                parent::__construct($className);
        }
 
+       /**
+        * Discovers the request
+        *
+        * @param       $requestInstance        An instance of a Requestable class
+        * @return      void
+        * @throws      UnsupportedOperationException   If this method is called
+        */
+       public function discover (Requestable $requestInstance) {
+               throw new UnsupportedOperationException('This method is not supported.');
+       }
+
+       /**
+        * Adds the database result in a human-readable format to the helper class
+        *
+        * @param       $helperInstance         An instance of a helper class
+        * @return      void
+        * @todo        0% done
+        */
+       public function addResultsToHelper (HelpableTemplate $helperInstance) {
+               // Undone part
+               $this->partialStub('Unfinished method. helperInstance=' . $helperInstance->__toString());
+       }
+
 }
index 867fcb545c7c0558ac975033cc4380ee6352b88a..f753eee22a5ea7b925dc52f27f514196b752146e 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 1b009dbb47e6e6ab988fd12526e0d28f02464614..3be38aee788d8c87a99e404a4b95bb6695f701a6 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 1ad70f6f6ee9b871e15a034ee0209835e41a3b99..6b17e7312278bc0e6971906ca269b1113e9da2dd 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index b1f311e234f93cd74acf89bf3e8af09f4922042c..f738ca664b2d94a2f4fee8063f5546c8f4b46723 100644 (file)
@@ -7,6 +7,7 @@ use Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index f309d7e8878ec18ce0b19453debb0cc03e1e4bf9..6447265b48ae4d821e001af014acaf619891d9bf 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index c5ee1c001e6e63480eb5ea7b8e9d0085b1ea3155..350ffad26dd7231c1d7a4f9d8c4b3167c13bcdd7 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 7f3c809d4c4c0bd322145215da46c3e57bb92b55..b42d235a673a17c8f55f2229144202f0e0fe7b79 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 1e615b77a404b409f5f98b3001c151b76edc38cb..91e807ef7613d71dd972b3726f310f796c442ef9 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Registry\Registerable;
 
 /**
index 66d5f7e90b70702d444f0e5665036394841f7265..a256faa979e431e0ec81bb12aaf164c5d639c511 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Registry\Registerable;
 
 /**
index a1c4ffad27de48bcf87940aa595c28c148fa783f..0f914e92be0a83a7820969e41d216e2b5d564788 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Registry\Registerable;
 
 /**
index 7cfc52812d3fb51f5f2aeebb607e744c6f4b2adc..886a118a4b468f804fc4c9298f527be3e16c0fc3 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
+use CoreFramework\Generic\UnsupportedOperationException;
 use CoreFramework\Registry\Registerable;
 
 /**
index ea8c48bebad70c4a06df83f95678e2378358195e..aff00bc082453413374ccfea2fc4460f1432c2f9 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Iterator\Producer\TestUnitKey;
+
+// Import Framework stuff
+use CoreFramework\Generic\UnsupportedOperationException;
+
 /**
  * A TestUnitKeyProducer iterator
  *
index 98606282eefcf717f437ebc6cd242d54201eb97d..b8ce5d6edce27b6be68f72dec23be322bed4b671 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Listener\Tcp;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Generic\UnsupportedOperationException;
 
 /**
  * A TCP connection listener