]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/recipient/self/class_SelfRecipient.php
Added noisy debug lines, used constants defined in NetworkPackage instead of direct...
[hub.git] / application / hub / main / recipient / self / class_SelfRecipient.php
index 307f299973c10ad208a7c59ee931ef62de42058a..10c0bb1f0469da525c290c33ba5f84536d34c468 100644 (file)
@@ -56,7 +56,8 @@ class SelfRecipient extends BaseRecipient implements Recipient {
         */
        public function resolveRecipient ($recipient, Listable $listInstance) {
                // Make sure the recipient is valid
-               assert($recipient == 'self');
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('SELF-RECIPIENT: recipient=' . $recipient);
+               assert($recipient == NetworkPackage::NETWORK_TARGET_SELF);
 
                // Determine own port
                $port = $this->getConfigInstance()->getConfigEntry('node_listen_port');