]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/tasks/hub/ping/class_HubPingTask.php
Package class renamed, continued (sorry for lame description)
[hub.git] / application / hub / main / tasks / hub / ping / class_HubPingTask.php
index c0a6ca27f63edcbd49e0f1168a72f8deae5cd353..22ce92d72ff0e4536a7ca030a84e2c6435aa2718 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -56,14 +56,15 @@ class HubPingTask extends BaseTask implements Visitable, Taskable {
        }
 
        /**
-        * Accepts the visitor to rpocess the visit "request"
+        * Accepts the visitor to process the visit "request"
         *
         * @param       $visitorInstance        An instance of a Visitor class
         * @return      void
         * @todo        0%
         */
        public function accept (Visitor $visitorInstance) {
-               $this->partialStub('Please implement this method. visitor='.$visitorInstance->__toString());
+               // Visit this task
+               $visitorInstance->visitTask($this);
        }
 
        /**
@@ -71,7 +72,7 @@ class HubPingTask extends BaseTask implements Visitable, Taskable {
         *
         * @return      void
         */
-       public function execute () {
+       public function executeTask () {
                $this->partialStub('Unimplemented task.');
        }
 }