]> git.mxchange.org Git - core.git/commitdiff
Moved $handlerInstance from BaseHubSystem to BaseFrameworkSystem
authorRoland Häder <roland@mxchange.org>
Tue, 19 Apr 2011 01:15:11 +0000 (01:15 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 19 Apr 2011 01:15:11 +0000 (01:15 +0000)
inc/classes/main/class_BaseFrameworkSystem.php

index 9491cb23c2015afaf8ddf9894542481e19a6fd6b..9c1cf4ca8ce05f6277bb79c3bf323a92de74a010 100644 (file)
@@ -148,6 +148,11 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
         */
        private $outputStreamInstance = null;
 
+       /**
+        * Networkable handler instance
+        */
+       private $handlerInstance = null;
+
        /**
         * The real class name
         */
@@ -1618,6 +1623,25 @@ class BaseFrameworkSystem extends stdClass implements FrameworkInterface {
                $this->outputStreamInstance = $outputStreamInstance;
        }
 
+       /**
+        * Setter for handler instance
+        *
+        * @param       $handlerInstance        A Networkable instance
+        * @return      void
+        */
+       protected final function setHandlerInstance (Networkable $handlerInstance) {
+               $this->handlerInstance = $handlerInstance;
+       }
+
+       /**
+        * Getter for handler instance
+        *
+        * @return      $handlerInstance        A Networkable instance
+        */
+       protected final function getHandlerInstance () {
+               return $this->handlerInstance;
+       }
+
        /**
         * Setter for raw package Data
         *