]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/node/seniors/class_NodeReachableState.php
Added missing method nodeAnnouncedToUpperHubs to state NodeReachableState, fixed...
[hub.git] / application / hub / main / states / node / seniors / class_NodeReachableState.php
index f4b8965c78d2f5949395a52495bf78a0d6a8848c..a0cdba1f8894b9b6243aa99757f92e73625b369d 100644 (file)
@@ -54,6 +54,16 @@ class NodeReachableState extends BaseNodeState implements Stateable {
                // Return the prepared instance
                return $stateInstance;
        }
+
+       /**
+        * State change for if the node got announced to it's upper hubs
+        *
+        * @return      void
+        */
+       public function nodeAnnouncedToUpperHubs () {
+               // Create the new state instance
+               NodeStateFactory::createNodeStateInstanceByName('announced', $this->getNodeInstance());
+       }
 }
 
 // [EOF]