From: Roland Häder Date: Tue, 19 Apr 2011 01:15:11 +0000 (+0000) Subject: Moved $handlerInstance from BaseHubSystem to BaseFrameworkSystem X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=33779a34a2a112c3a9a2447ed0a17d296c49b244;p=core.git Moved $handlerInstance from BaseHubSystem to BaseFrameworkSystem --- diff --git a/inc/classes/main/class_BaseFrameworkSystem.php b/inc/classes/main/class_BaseFrameworkSystem.php index 9491cb23..9c1cf4ca 100644 --- a/inc/classes/main/class_BaseFrameworkSystem.php +++ b/inc/classes/main/class_BaseFrameworkSystem.php @@ -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 *