]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/tasks/cruncher/class_CruncherKeyProducerTask.php
Updated 'core'.
[hub.git] / application / hub / main / tasks / cruncher / class_CruncherKeyProducerTask.php
index 92277d73999f747141c355b0a1b2c740908248fa..a194282187720783dd4f80fc86e31369fe1e36d8 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A KeyProducer task for crunchers
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2011 - 2012 Cruncher Developer Team
+ * @copyright  Copyright (c) 2011 - 2014 Cruncher Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  *
  * This program is free software: you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -69,11 +69,21 @@ class CruncherKeyProducerTask extends BaseTask implements Taskable, Visitable {
                $stateInstance = Registry::getRegistry()->getInstance('cruncher')->getStateInstance();
 
                // Debug message
-               //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK: Executing stateInstance=' . $stateInstance->__toString());
+               //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Executing stateInstance=' . $stateInstance->__toString());
 
                // We can now invoke that state instance and pass our producer instance for generating some test units
                $stateInstance->executeState($producerInstance);
        }
+
+       /**
+        * Shuts down the task
+        *
+        * @return      void
+        * @todo        0% done
+        */
+       public function doShutdown () {
+               self::createDebugInstance(__CLASS__)->debugOutput('TASK[' . __METHOD__ . ':' . __LINE__ . ']: Shutting down...');
+       }
 }
 
 // [EOF]