]> git.mxchange.org Git - hub.git/commitdiff
Used correct method name
authorRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 22:32:32 +0000 (22:32 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 20 Dec 2012 22:32:32 +0000 (22:32 +0000)
application/hub/main/dht/class_
application/hub/main/handler/message-types/class_BaseMessageHandler.php
application/hub/main/helper/hub/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php

index 5852fc9bedf8a5a5dcb4d0ab4ca9319fc37c3e1b..8fe8e538c32cd2bfde758be6803bb6b7d9f1c48f 100644 (file)
@@ -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
index 882fb475864b31b29d1d724f142305df90d8dce7..5518e2e2cce5a283c0d98b527e15bc6e00378a7a 100644 (file)
@@ -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');
index 553a9f8040c11240058d0c2f10f5fa3fdb7e6e9c..81789e414d7338624c82ebfcafc6df9cfee36feb 100644 (file)
@@ -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();