]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/recipient/direct/class_DirectRecipient.php
More rewrites (and code stops):
[hub.git] / application / hub / main / recipient / direct / class_DirectRecipient.php
index 10f365fa660cfb55cdd89d184c60bc99178b0c89..71e61d392256bcf24b0df1dd0a67e802be3d04a3 100644 (file)
@@ -46,7 +46,7 @@ class DirectRecipient extends BaseRecipient implements Recipient {
        }
 
        /**
-        * Tries to resolve given recipient into session ids or ip:port combination
+        * Tries to resolve given recipient into session ids or universal node locator
         * depending on implementation (hint: Template Method Pattern)
         *
         * @param       $recipient              Recipient to resolve (e.g. could be a virtual recipient or direct session id)
@@ -68,10 +68,10 @@ class DirectRecipient extends BaseRecipient implements Recipient {
                // Try it on all
                foreach ($recipients as $recipient) {
                        // Try to sole a single recipient
-                       $ipPort = HubTools::resolveSessionId($recipient);
+                       $unl = HubTools::resolveSessionId($recipient);
 
                        // Add it as recipient
-                       $listInstance->addEntry('ip_port', $ipPort);
+                       $listInstance->addEntry('unl', $unl);
                } // END - foreach
        }
 }