]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/helper/nodes/class_NodeHelper.php
Continued with hub:
[hub.git] / application / hub / interfaces / helper / nodes / class_NodeHelper.php
index ea990cacb7a4b698c06134b92953e16f6ef0cbfb..9717de9b5e5954b6d862b92a31f3081480d6a00c 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 Hub Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.shipsimu.org
  * @todo               We need to find a better name for this interface
@@ -141,7 +141,7 @@ interface NodeHelper extends Helper, AddableCriteria {
         *
         * @return      $hasAnnounced   Whether this node has attempted to announce itself
         */
-       function ifNodeHasAnnounced ();
+       function ifNodeIsAnnouncing ();
 
        /**
         * Checks whether this node has attempted to announce itself and completed it
@@ -172,6 +172,14 @@ interface NodeHelper extends Helper, AddableCriteria {
         * @return      $objectList             Array of all accepted object types
         */
        function getListFromAcceptedObjectTypes ();
+
+       /**
+        * Adds extra tasks to the given handler for this node
+        *
+        * @param       $handlerInstance        An instance of a HandleableTask class
+        * @return      void
+        */
+       function addExtraTasks (HandleableTask $handlerInstance);
 }
 
 // [EOF]