*
* @author Roland Haeder <webmaster@ship-simu.org>
* @version 0.0.0
- * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009, 2010 Hub Developer Team
+ * @copyright Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2011 Hub Developer Team
* @license GNU GPL 3.0 or any newer version
* @link http://www.ship-simu.org
*
/**
* Creates an instance of this class
*
- * @return $taskInstance An instance of a Visitable class
+ * @return $taskInstance An instance of a Taskable/Visitable class
*/
- public final static function createHubSelfConnectTask () {
+ public static final function createHubSelfConnectTask () {
// Get new instance
$taskInstance = new HubSelfConnectTask();
* @return void
*/
public function executeTask () {
- $this->partialStub('Unimplemented task.');
+ // Get the node instance and try it
+ Registry::getRegistry()->getInstance('node')->doSelfConnection($this);
}
}