]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/registry/connection/class_ConnectionRegistry.php
Continued with refacturing:
[hub.git] / application / hub / main / registry / connection / class_ConnectionRegistry.php
index 2caf8fc76c882cdc17fab6acd57113bf7841b526..5d663f171588e07664abb50caab2b25e1afd7ce0 100644 (file)
@@ -64,6 +64,9 @@ class ConnectionRegistry extends BaseRegistry implements Register, RegisterableC
         * @return      $key                                    A string representation of the socket for the registry
         */
        private function getSubRegistryKey (ConnectionHelper $connectionInstance) {
+               // Debug message
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-REGISTRY[' . __METHOD__ . ':' . __LINE__ . ']: connectionInstance=' . $connectionInstance->__toString() . ' CALLED!');
+
                // Get connection type and port number and add both together
                $key = sprintf('%s:%s:%s',
                        $connectionInstance->__toString(),
@@ -71,6 +74,9 @@ class ConnectionRegistry extends BaseRegistry implements Register, RegisterableC
                        $connectionInstance->getConnectionPort()
                );
 
+               // Debug message
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('CONNECTION-REGISTRY[' . __METHOD__ . ':' . __LINE__ . ']: key=' . $key . ' - EXIT!');
+
                // Return resulting key
                return $key;
        }