]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/dht/class_BaseDht.php
Added very basic implementation of DHT bootstrapping (there are some configuration...
[hub.git] / application / hub / main / dht / class_BaseDht.php
index f9dfa5fdf9d06df69f721c27cc3518720662afac..a71c2f3050164dd87e2ca94f016c02c933a576b2 100644 (file)
@@ -31,6 +31,12 @@ class BaseDht extends BaseHubSystem {
        protected function __construct ($className) {
                // Call parent constructor
                parent::__construct($className);
+
+               /*
+                * Get the state factory and create the initial state, we don't need
+                * the state instance here
+                */
+               DhtStateFactory::createDhtStateInstanceByName('init', $this);
        }
 }