From 33779a34a2a112c3a9a2447ed0a17d296c49b244 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 19 Apr 2011 01:15:11 +0000 Subject: [PATCH] Moved $handlerInstance from BaseHubSystem to BaseFrameworkSystem --- .../main/class_BaseFrameworkSystem.php | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) 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 * -- 2.39.5