Opps, wrong constant name
authorRoland Häder <roland@mxchange.org>
Thu, 21 Feb 2013 23:41:57 +0000 (23:41 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 21 Feb 2013 23:41:57 +0000 (23:41 +0000)
application/hub/main/recipient/dht/class_DhtRecipient.php
application/hub/main/recipient/upper/class_UpperRecipient.php

index 13661f33d67929aaaf07c675f016b14740b0eb17..df06656eb402ddb3783621313a0eab558e65cb08 100644 (file)
@@ -58,7 +58,7 @@ class DhtRecipient extends BaseRecipient implements Recipient {
        public function resolveRecipient ($recipient, Listable $listInstance) {
                // Make sure the recipient is valid
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('DHT-RECIPIENT: recipient=' . $recipient);
-               assert($recipient == NetworkPacke::PACKAGE_RECIPIENT_DHT);
+               assert($recipient == NetworkPacke::NETWORK_TARGET_DHT);
                $this->partialStub('Please implement this method. recipient=' . $recipient);
        }
 }
index 4e4fea9606c9d5e1fe7de43bd9ec29afb7a1de9e..7d95c9094d1092b7b9abd012e809eaed06b54b99 100644 (file)
@@ -57,7 +57,7 @@ class UpperRecipient extends BaseRecipient implements Recipient {
        public function resolveRecipient ($recipient, Listable $listInstance) {
                // Make sure the recipient is valid
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('UPPER-RECIPIENT: recipient=' . $recipient);
-               assert($recipient == NetworkPackage::PACKAGE_RECIPIENT_UPPER);
+               assert($recipient == NetworkPackage::NETWORK_TARGET_UPPER);
 
                // Get all bootstrap nodes
                foreach (explode(BaseHubSystem::BOOTSTRAP_NODES_SEPARATOR, $this->getConfigInstance()->getConfigEntry('hub_bootstrap_nodes')) as $ipPort) {