]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/helper/dht/class_DhtBootstrapHelper.php
Added unfinished support for XML-based publishing of DHT entries.
[hub.git] / application / hub / main / helper / dht / class_DhtBootstrapHelper.php
index ee3afc770f0e79535fffa4cd54f8f68464cca455..bf5b21505ac0810d89160682523c1760804e6b44 100644 (file)
@@ -2,11 +2,11 @@
 /**
  * A Bootstrap Dht helper class
  *
- * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @author             Roland Haeder <webmaster@shipsimu.org>
  * @version            0.0.0
  * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.org
+ * @link               http://www.shipsimu.org
  * @todo               Find an interface for hub helper
  *
  * This program is free software: you can redistribute it and/or modify
@@ -55,11 +55,12 @@ class DhtBootstrapHelper extends BaseHubSystemHelper implements HelpableDht {
        /**
         * Loads the announcement descriptor for parsing
         *
+        * @param       $dhtInstance    An instance of a Distributable class
         * @return      void
         */
-       public function loadDescriptorXml () {
+       public function loadDescriptorXml (Distributable $dhtInstance) {
                // Debug message
-               self::createDebugInstance(__CLASS__)->debugOutput('HELPER: Starting with DHT boostrap ...');
+               self::createDebugInstance(__CLASS__)->debugOutput('HELPER[' . __LINE__ . ']: Starting with DHT boostrap ...');
 
                // Get a XML template instance
                $templateInstance = XmlTemplateEngineFactory::createXmlTemplateEngineInstance('dht_bootstrap_template_class');