]> git.mxchange.org Git - hub.git/commitdiff
Fixed wrong super classes
authorRoland Häder <roland@mxchange.org>
Thu, 14 Feb 2013 22:26:58 +0000 (22:26 +0000)
committerRoland Häder <roland@mxchange.org>
Thu, 14 Feb 2013 22:26:58 +0000 (22:26 +0000)
application/hub/main/factories/socket/class_SocketFactory.php
application/hub/main/helper/connection/class_BaseConnectionHelper.php

index 1d484264efb49e58a976073071e53e06f6ee6edd..5ba0c468fd5cb69387853e4864abd8ad210029f6 100644 (file)
@@ -22,7 +22,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class SocketFactory extends BaseHubHelper {
+class SocketFactory extends ObjectFactory {
        /**
         * Protected constructor
         *
@@ -74,7 +74,7 @@ class SocketFactory extends BaseHubHelper {
                        self::createDebugInstance(__CLASS__)->debugOutput('SOCKET-FACTORY: Created socket ' . $socketResource . '(' . gettype($socketResource) . ') from class ' . $className . '.');
 
                        // Construct container class, this won't be reached if an exception is thrown
-                       $containerInstance = ObjectFactory::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData));
+                       $containerInstance = self::CreateObjectByConfiguredName('socket_container_class', array($socketResource, NULL, $packageData));
 
                        // Register it with the registry
                        Registry::getRegistry()->addInstance($registryKey, $containerInstance);
index 0b5a0ab871185cb920611b7a7d0627b05874b520..362ca008790d05aa92fbd9fee08ec3fe1eecc919 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseConnectionHelper extends BaseHubHelper implements Registerable, ProtocolHandler {
+class BaseConnectionHelper extends BaseHubSystemHelper implements Registerable, ProtocolHandler {
        // Exception codes
        const EXCEPTION_UNSUPPORTED_ERROR_HANDLER = 0x900;