]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/master/class_HubMasterNode.php
publishHubDescriptor() added, TODOs.txt updated
[hub.git] / application / hub / main / nodes / master / class_HubMasterNode.php
index 4c9aeeb12d12ccb663a9cb5e63426ff3bc57b15b..c68d0a321612891f96265d80f1ff35409eaa08dc 100644 (file)
@@ -58,7 +58,14 @@ class HubMasterNode extends BaseHubNode implements NodeHelper, Registerable {
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               // Do more here
+               $this->partialStub('Do something before hub descriptor is published.');
+
+               // Publish the descriptor of this hub, this will "announce" us to upper hubs
+               $this->publishHubDescriptor();
+
+               // Do more here
+               $this->partialStub('Do something after hub descriptor is published.');
        }
 
        /**