From: Roland Haeder Date: Tue, 18 Mar 2014 22:58:49 +0000 (+0100) Subject: Renamed method to make it more clear. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a9ceeef003c251bc1ca15a94d9278ace23f3f23f;p=hub.git Renamed method to make it more clear. Signed-off-by: Roland Haeder --- diff --git a/application/hub/main/dht/node/class_NodeDhtFacade.php b/application/hub/main/dht/node/class_NodeDhtFacade.php index a3d1524b8..bcd7a2296 100644 --- a/application/hub/main/dht/node/class_NodeDhtFacade.php +++ b/application/hub/main/dht/node/class_NodeDhtFacade.php @@ -118,7 +118,7 @@ class NodeDhtFacade extends BaseDht implements DistributableNode, Registerable { $helperInstance->sendPackage($this); // Change state - $this->getStateInstance()->dhtHasBooted(); + $this->getStateInstance()->dhtIsBooting(); } /** diff --git a/application/hub/main/states/dht/virgin/class_DhtVirginState.php b/application/hub/main/states/dht/virgin/class_DhtVirginState.php index 9f0a1a271..838bc570d 100644 --- a/application/hub/main/states/dht/virgin/class_DhtVirginState.php +++ b/application/hub/main/states/dht/virgin/class_DhtVirginState.php @@ -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()); }