]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/master/class_HubMasterNode.php
More debug lines added, bootstrap method stubs added
[hub.git] / application / hub / main / nodes / master / class_HubMasterNode.php
index 9f41a0311e70d0120a14905839d824e162f1edd0..92b100c749900d5069b9fb201ed6412cca1b9b48 100644 (file)
@@ -58,11 +58,29 @@ class HubMasterNode extends BaseHubNode implements NodeHelper {
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               // Call generic (parent) bootstrapping method
+               // Output message
+               $this->getDebugInstance()->output('BOOTSTRAP: Beginning with bootstrap...');
+
+               // Call generic (parent) bootstrapping method first
                parent::doGenericBootstrapping();
-               $this->partialStub("Please implement this method.");
+               $this->partialStub('Please implement this method.');
+
+               // Output message
+               $this->getDebugInstance()->output('BOOTSTRAP: Bootstrap finished.');
+       }
+
+       /**
+        * Initializes hub-specific queues
+        *
+        * @return      void
+        * @todo        Unfinished method
+        */
+       public function initQueues () {
+               // Call generic queues every hub may have, like the core queue
+               parent::initGenericQueues();
+               $this->partialStub('Please add some more hub-specific queues.');
        }
 }
 
-// [EOF]
+//
 ?>