]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/class_BaseHubNode.php
Package class renamed, continued (sorry for lame description)
[hub.git] / application / hub / main / nodes / class_BaseHubNode.php
index 64c84080a0586f4a69c57e9bfc9462ff5cbb0b4d..0fb71fcdaf6a8ba96e06436091f14e15b9f89a62 100644 (file)
@@ -56,6 +56,11 @@ class BaseHubNode extends BaseHubSystem implements Updateable {
         */
        private $isActive = false;
 
+       /**
+        * List instance of all hubs
+        */
+       private $hubsInstance = false;
+
        /**
         * Protected constructor
         *
@@ -66,6 +71,9 @@ class BaseHubNode extends BaseHubSystem implements Updateable {
                // Call parent constructor
                parent::__construct($className);
 
+               // Init list for connected hubs
+               $this->hubsInstance = ObjectFactory::createObjectByConfiguredName('hub_list_class');
+
                // Init state which sets the state to 'init'
                $this->initState();
        }