]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/states/crawler/booting/class_CrawlerBootingState.ph
Added initial crawler stuff:
[hub.git] / application / hub / main / states / crawler / booting / class_CrawlerBootingState.ph
diff --git a/application/hub/main/states/crawler/booting/class_CrawlerBootingState.ph b/application/hub/main/states/crawler/booting/class_CrawlerBootingState.ph
new file mode 100644 (file)
index 0000000..289d49e
--- /dev/null
@@ -0,0 +1,14 @@
+
+       /**
+        * State change if the communicator has fully initialized.
+        *
+        * @return      void
+        * @todo        ~30% done
+        */
+       public function communicatorHasInitialized () {
+               // Please implement
+               $this->partialStub('Unfinished method.');
+
+               // Change state to 'active'
+               CrawlerStateFactory::createCrawlerStateInstanceByName('active', $this->getCrawlerInstance());
+       }