]> git.mxchange.org Git - hub.git/commitdiff
these classes need to inherit from BaseHubSystem, like all others here
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 22:27:15 +0000 (00:27 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:04 +0000 (18:50 +0200)
except StorableSocket

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/class_
application/hub/classes/cruncher/class_BaseHubCruncher.php
application/hub/classes/helper/messages/class_BaseMessageHelper.php
application/hub/classes/helper/work_units/class_BaseWorkUnitHelper.php
application/hub/classes/miner/class_BaseHubMiner.php
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/producer/class_BaseProducer.php
application/hub/classes/unl/class_UniversalNodeLocator.php
application/hub/interfaces/container/socket/class_StorableSocket.php

index 2dea4bd3893a2fde75698cbb4a2c29d14acaffef..6cad45e036edf6910cfb8d208a5b2b6c3bb677fa 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\;
+
+// Import application-specific stuff
+use Hub\Generic\BaseHubSystem;
+
 /**
  * A ???
  *
@@ -21,7 +27,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class ??? extends BaseFrameworkSystem implements === {
+class ??? extends BaseHubSystem implements === {
        /**
         * Protected constructor
         *
index 9c3023760702b221f399bfff9dc3ef8092206ffa..b5b8abd18079cced4c5e66eb515ebd39a988c98b 100644 (file)
@@ -8,7 +8,6 @@ use Hub\Generic\BaseHubSystem;
 // Import framework stuff
 use CoreFramework\Database\Updateable;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Registry\Registry;
 
 /**
index 8f26b37fbd086007e1074d292315d2f6bb94a3bc..214561350591402616eae6f0f03768e752fe877a 100644 (file)
@@ -2,8 +2,8 @@
 // Own namespace
 namespace Hub\Helper\Message;
 
-// Import framework stuff
-use CoreFramework\Object\BaseFrameworkSystem;
+// Import application-specific stuff
+use Hub\Generic\BaseHubSystem;
 
 /**
  * A general Message class
@@ -27,7 +27,7 @@ use CoreFramework\Object\BaseFrameworkSystem;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseMessageHelper extends BaseFrameworkSystem {
+class BaseMessageHelper extends BaseHubSystem {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseMessageHelper extends BaseFrameworkSystem {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 5a362fb56da2b6d33b15ae67b2c3b4f891f3dd9a..b0ab1a5bec9ad0adcdc702d0908f1826e051afa9 100644 (file)
@@ -2,8 +2,8 @@
 // Own namespace
 namespace Hub\Helper\WorkUnit;
 
-// Import framework stuff
-use CoreFramework\Object\BaseFrameworkSystem;
+// Import application-specific stuff
+use Hub\Generic\BaseHubSystem;
 
 /**
  * A general WorkUnit class
@@ -27,7 +27,7 @@ use CoreFramework\Object\BaseFrameworkSystem;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-abstract class BaseWorkUnitHelper extends BaseFrameworkSystem {
+abstract class BaseWorkUnitHelper extends BaseHubSystem {
        /**
         * Protected constructor
         *
index adedc5b56236519dc4d5721d88095b43e860bd89..2114c55dfe2c0b1fbb8fb9e80289808503053e64 100644 (file)
@@ -8,7 +8,6 @@ use Hub\Generic\BaseHubSystem;
 // Import framework stuff
 use CoreFramework\Database\Updateable;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Registry\Registry;
 
 /**
index e873f212d3ae2020b081617ee2bbb54f08261568..d3282002dbe55ee404eba4be17d31bbb4f43a9f5 100644 (file)
@@ -19,7 +19,6 @@ use CoreFramework\Criteria\Storing\StoreableCriteria;
 use CoreFramework\Database\Updateable;
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
index 96e06b95c5a5f228329d1f7fa174d4bee3e7055c..59b8a06992c3d58b831fc74b56170f8d4ac77653 100644 (file)
@@ -2,9 +2,11 @@
 // Own namespace
 namespace Hub\Producer;
 
+// Import application-specific stuff
+use Hub\Generic\BaseHubSystem;
+
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Registry\Registry;
 
 /**
@@ -29,7 +31,7 @@ use CoreFramework\Registry\Registry;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-abstract class BaseProducer extends BaseFrameworkSystem {
+abstract class BaseProducer extends BaseHubSystem {
        /**
         * Outgoing work-queue
         */
index e44d88276ecd70d2b560aa6f53020337990c2a96..861805087ebef885e685d2dc4fd6b1d10cc51305 100644 (file)
@@ -4,12 +4,10 @@ namespace Hub\Locator\Node;
 
 // Import application-specific stuff
 use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper;
-
-// Import framework stuff
-use CoreFramework\Object\BaseFrameworkSystem;
+use Hub\Generic\BaseHubSystem;
 
 /**
- * A UniversalNodeLocator
+ * A class for UNLs (Universal Node Locator)
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
@@ -30,7 +28,7 @@ use CoreFramework\Object\BaseFrameworkSystem;
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class UniversalNodeLocator extends BaseFrameworkSystem implements LocateableNode {
+class UniversalNodeLocator extends BaseHubSystem implements LocateableNode {
        //------- UNL parts -------
        // Protocol
        const UNL_PART_PROTOCOL = 'protocol';
index 81c21725f911492e5b266a2cba879d75cc016af8..2833ce2a0516b252ea34a853128d858480c7e54b 100644 (file)
@@ -2,8 +2,8 @@
 // Own namespace
 namespace Hub\Container\Socket;
 
-// Import application-specific stuff
-use Hub\Generic\HubInterface;
+// Inport frameworks stuff
+use CoreFramework\Generic\FrameworkInterface;
 
 /**
  * An interface for socket containers
@@ -27,7 +27,7 @@ use Hub\Generic\HubInterface;
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-interface StorableSocket extends HubInterface {
+interface StorableSocket extends FrameworkInterface {
 
        /**
         * Checks whether the given Universal Node Locator matches with the one from package data