From: Roland Häder Date: Thu, 20 Dec 2012 22:32:32 +0000 (+0000) Subject: Used correct method name X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c5162d1b1e07c7f3e0055dac497185682894cfd6;p=hub.git Used correct method name --- diff --git a/application/hub/main/dht/class_ b/application/hub/main/dht/class_ index 5852fc9be..8fe8e538c 100644 --- a/application/hub/main/dht/class_ +++ b/application/hub/main/dht/class_ @@ -35,7 +35,7 @@ class ???DhtFacade extends BaseDht implements Distributable { /** * Creates an instance of this class * - * @return $dhtInstance An instance of a Distributable class + * @return $dhtInstance An instance of a Distributable class */ public final static function create??? () { // Get new instance diff --git a/application/hub/main/handler/message-types/class_BaseMessageHandler.php b/application/hub/main/handler/message-types/class_BaseMessageHandler.php index 882fb4758..5518e2e2c 100644 --- a/application/hub/main/handler/message-types/class_BaseMessageHandler.php +++ b/application/hub/main/handler/message-types/class_BaseMessageHandler.php @@ -68,6 +68,7 @@ abstract class BaseMessageHandler extends BaseDataHandler { protected function registerNodeByMessageData (array $messageData) { // Check if searchData has entries assert(count($this->searchData) > 0); + $this->debugOutput('messageData=' . print_r($messageData, true)); // Get a wrapper instance $wrapperInstance = ObjectFactory::createObjectByConfiguredName('node_list_db_wrapper_class'); diff --git a/application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php b/application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php index 553a9f804..81789e414 100644 --- a/application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php +++ b/application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php @@ -82,7 +82,7 @@ class NodeRequestNodeListMessageAnswerHelper extends BaseHubAnswerHelper impleme assert(!is_null($entriesInstance)); // Get DHT instance - $dhtInstance = DhtObjectFactory::createDhtInstance($nodeInstance); + $dhtInstance = DhtObjectFactory::createDhtObjectInstance($nodeInstance); // Render the XML content $templateInstance->renderXmlContent();