]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/list/class_HubListNode.php
publishHubDescriptor() added, TODOs.txt updated
[hub.git] / application / hub / main / nodes / list / class_HubListNode.php
index f9d289f45555f8417bdec66209715fd3cdf565ba..37e74a0ad5b038716b015eeb855cc4a6bfa0f0f7 100644 (file)
@@ -55,10 +55,17 @@ class HubListNode extends BaseHubNode implements NodeHelper, Registerable {
         * should communicate with the bootstrap-nodes at this point.
         *
         * @return      void
-        * @todo        Implement this method
+        * @todo        Implement more bootstrap steps
         */
        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.');
        }
 
        /**