*
* @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 - 2015 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
function doSelfConnection (Taskable $taskInstance);
/**
- * "Getter for address:port combination
+ * Determines an instance of a LocateableNode class
*
- * @return $addressPort A address:port combination for this node
+ * @return $unlInstance An instance of a LocateableNode class for this node
*/
- function getAddressPort ();
+ function determineUniversalNodeLocator ();
/**
- * "Getter for address:port array
+ * "Getter for an array of an instance of a LocateableNode class
*
- * @return $addressPortArray An array address:port combination for this node
+ * @return $unlData An array of an instance of a LocateableNode class
*/
- function getAddressPortArray ();
+ function getUniversalNodeLocatorArray ();
/**
* Updates/refreshes node data (e.g. state).
*
* @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
* @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]