]> git.mxchange.org Git - hub.git/commitdiff
Added 'helper' word into configuration entry
authorRoland Häder <roland@mxchange.org>
Thu, 28 Apr 2011 00:51:22 +0000 (00:51 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 28 Apr 2011 00:51:22 +0000 (00:51 +0000)
application/hub/config.php
application/hub/main/factories/socket/class_SocketFactory.php

index 92f467fd164df9b6827aad03dd149beae2e02eeb..6dca9179f8df40fa892c43c1e26d6624254f135b 100644 (file)
@@ -474,11 +474,11 @@ $cfg->setConfigEntry('recipient_list_class', 'RecipientList');
 // CFG: PACKAGE-TAGS-CLASS
 $cfg->setConfigEntry('package_tags_class', 'PackageTags');
 
-// CFG: TCP-CONNECTION-CLASS
-$cfg->setConfigEntry('tcp_connection_class', 'TcpConnectionHelper');
+// CFG: TCP-CONNECTION-HELPER-CLASS
+$cfg->setConfigEntry('tcp_connection_helper_class', 'TcpConnectionHelper');
 
-// CFG: UDP-CONNECTION-CLASS
-$cfg->setConfigEntry('udp_connection_class', 'UdpConnectionHelper');
+// CFG: UDP-CONNECTION-HELPER-CLASS
+$cfg->setConfigEntry('udp_connection_helper_class', 'UdpConnectionHelper');
 
 // CFG: TCP-BUFFER-LENGTH
 $cfg->setConfigEntry('tcp_buffer_length', 1024);
index acb20afe222bc2aecbd54638d1a80a978815cfe1..60447820664f7f8d45d8bfdb03df5ddefe4235f9 100644 (file)
@@ -42,7 +42,7 @@ class SocketFactory extends BaseHubHelper {
         */
        public static function createSocketFromPackageData (array $packageData, $protocolName) {
                // Construct configuration entry for object factory
-               $configEntry = $protocolName . '_connection_class';
+               $configEntry = $protocolName . '_connection_helper_class';
 
                // And call the static method
                $socketResource = call_user_func(FrameworkConfiguration::getInstance()->getConfigEntry($configEntry) . '::createConnectionFromPackageData', $packageData);