]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/recipient/dht/class_DhtRecipient.php
Added noisy debug lines, used constants defined in NetworkPackage instead of direct...
[hub.git] / application / hub / main / recipient / dht / class_DhtRecipient.php
index baef263859152d8f7410cb8bc86fa7bc253baada..c8d31c9854ebce792194cfaa8fd9e11de74681f3 100644 (file)
@@ -57,7 +57,8 @@ class DhtRecipient extends BaseRecipient implements Recipient {
         */
        public function resolveRecipient ($recipient, Listable $listInstance) {
                // Make sure the recipient is valid
-               assert($recipient == 'dht');
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-RECIPIENT: recipient=' . $recipient);
+               assert($recipient == NetworkPacke::PACKAGE_RECIPIENT_DHT);
                $this->partialStub('Please implement this method. recipient=' . $recipient);
        }
 }