]> git.mxchange.org Git - city.git/blobdiff - application/city/main/commands/console/class_CityConsoleDaemonCommand.php
Added mindmap documentation (may be moved to new project) + some improvements
[city.git] / application / city / main / commands / console / class_CityConsoleDaemonCommand.php
index 4dfed6bf5e2f02f27f766497b7f127f79ecc3bfd..57454d3fb8b11c767ca511ef441991bf98171aa5 100644 (file)
@@ -94,7 +94,7 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
                 * ----------------------------- Main loop ----------------------------
                 * This is the main loop. Queried calls should come back here very fast
                 * so the whole application runs on nice speed. This while-loop goes
-                * until the hub is no longer active or all tasks are killed.
+                * until the application is no longer active or all tasks are killed.
                 */
                while (($cityInstance->isCityActive()) && ($handlerInstance->hasTasksLeft())) {
                        // Handle all tasks here
@@ -111,7 +111,7 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
         * @param       $controllerInstance             A controller instance
         * @param       $requestInstance                An instance of a class with an Requestable interface
         * @return      void
-        * @todo        0% done
+        * @todo        ~10% done
         */
        public function addExtraFilters (Controller $controllerInstance, Requestable $requestInstance) {
                // Add pre filters
@@ -125,7 +125,7 @@ class CityConsoleDaemonCommand extends BaseCommand implements Commandable {
                // Add city activation filters
                $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('city_daemon_activation_task_handler_initializer_filter'));
 
-               // Add shutdown filters
+               // Add shutdown filters, you may want to shutdown the task handler has last one.
                $controllerInstance->addShutdownFilter(ObjectFactory::createObjectByConfiguredName('city_daemon_shutdown_task_handler_filter'));
 
                // This is the last generic shutdown filter