]> git.mxchange.org Git - hub.git/commitdiff
Renamed method to make it more clear.
authorRoland Haeder <roland@mxchange.org>
Tue, 18 Mar 2014 22:58:49 +0000 (23:58 +0100)
committerRoland Haeder <roland@mxchange.org>
Tue, 18 Mar 2014 22:58:49 +0000 (23:58 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/dht/node/class_NodeDhtFacade.php
application/hub/main/states/dht/virgin/class_DhtVirginState.php

index a3d1524b88919a9875d8c12fd1ce3091693e0869..bcd7a2296184ebd2e334b451f28e243dad16a82a 100644 (file)
@@ -118,7 +118,7 @@ class NodeDhtFacade extends BaseDht implements DistributableNode, Registerable {
                $helperInstance->sendPackage($this);
 
                // Change state
-               $this->getStateInstance()->dhtHasBooted();
+               $this->getStateInstance()->dhtIsBooting();
        }
 
        /**
index 9f0a1a2719cd060ebc07f1a3b8a035362e01933c..838bc570dd8b25c2d6be5c23b06caa44fefba2c0 100644 (file)
@@ -59,13 +59,12 @@ class DhtVirginState extends BaseDhtState implements Stateable {
        }
 
        /**
-        * Called when the DHT has booted. This means that the bootstrap message
-        * has been sent out to other nodes. This will changed the DHT's state
-        * to 'booting'.
+        * Called when the DHT is booting. This means that the bootstrap message
+        * has been queued.
         *
         * @return      void
         */
-       public function dhtHasBooted () {
+       public function dhtIsBooting () {
                // Get new instance and set it
                DhtStateFactory::createDhtStateInstanceByName('booting', $this->getDhtInstance());
        }