From: Roland Häder Date: Thu, 28 Apr 2011 00:51:22 +0000 (+0000) Subject: Added 'helper' word into configuration entry X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=f1e468915bc933e73f8e1ba0bad9ba496ce7a813;p=hub.git Added 'helper' word into configuration entry --- diff --git a/application/hub/config.php b/application/hub/config.php index 92f467fd1..6dca9179f 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -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); diff --git a/application/hub/main/factories/socket/class_SocketFactory.php b/application/hub/main/factories/socket/class_SocketFactory.php index acb20afe2..604478206 100644 --- a/application/hub/main/factories/socket/class_SocketFactory.php +++ b/application/hub/main/factories/socket/class_SocketFactory.php @@ -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);