From: Roland Häder Date: Mon, 5 May 2008 23:32:04 +0000 (+0000) Subject: Port number changed to 9060, several rewrites because of method constructor() is... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9f6d7db3fa24270ec0c8a856a346575abd932918;p=hub.git Port number changed to 9060, several rewrites because of method constructor() is no longer being used --- diff --git a/application/hub/class_ApplicationHelper.php b/application/hub/class_ApplicationHelper.php index 696aee8fe..94ea19675 100644 --- a/application/hub/class_ApplicationHelper.php +++ b/application/hub/class_ApplicationHelper.php @@ -66,7 +66,7 @@ class ApplicationHelper extends BaseFrameworkSystem implements ManageableApplica */ protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set description $this->setObjectDescription("Application-Helper"); diff --git a/application/hub/config.php b/application/hub/config.php index 926ab2e18..e5ca83a15 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -28,7 +28,7 @@ $cfg = FrameworkConfiguration::getInstance(); $cfg->setConfigEntry("hub_listen_addr", "0.0.0.0"); // CFG: HUB-LISTEN-PORT (zero = auto-choose) -$cfg->setConfigEntry("hub_listen_port", 9050); +$cfg->setConfigEntry("hub_listen_port", 9060); // CFG: TEMPLATE-ENGINE $cfg->setConfigEntry("tpl_engine", "ConsoleOutput"); @@ -64,7 +64,7 @@ $cfg->setConfigEntry("hub_msg_bye", "BYE"); $cfg->setConfigEntry("hub_master_ip", "192.168.1.17"); // CFG: HUB-MASTER-PORT -$cfg->setConfigEntry("hub_master_port", 9050); +$cfg->setConfigEntry("hub_master_port", 9060); // CFG: HUB-AUTH-REQUEST $cfg->setConfigEntry("hub_auth_request", "AUTH"); diff --git a/application/hub/main/class_HubCommandProcessor.php b/application/hub/main/class_HubCommandProcessor.php index 7de18ec0f..50528e9c3 100644 --- a/application/hub/main/class_HubCommandProcessor.php +++ b/application/hub/main/class_HubCommandProcessor.php @@ -44,9 +44,9 @@ class HubCommandProcessor extends BaseFrameworkSystem { * * @return void */ - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set description $this->setObjectDescription("Hub-Command-Processor"); diff --git a/application/hub/main/class_HubConnector.php b/application/hub/main/class_HubConnector.php index de87246bc..72ee16527 100644 --- a/application/hub/main/class_HubConnector.php +++ b/application/hub/main/class_HubConnector.php @@ -36,9 +36,9 @@ class HubConnector extends BaseFrameworkSystem { * * @return void */ - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set description $this->setObjectDescription("Hub-Connector"); diff --git a/application/hub/main/class_HubCoreLoop.php b/application/hub/main/class_HubCoreLoop.php index 6e85a6d90..a64a4d6d9 100644 --- a/application/hub/main/class_HubCoreLoop.php +++ b/application/hub/main/class_HubCoreLoop.php @@ -103,9 +103,9 @@ class HubCoreLoop extends BaseFrameworkSystem { * * @return void */ - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set description $this->setObjectDescription("Hub-Core Loop"); diff --git a/application/hub/main/class_HubPeer.php b/application/hub/main/class_HubPeer.php index 59e23ecb6..c34b7ef21 100644 --- a/application/hub/main/class_HubPeer.php +++ b/application/hub/main/class_HubPeer.php @@ -132,9 +132,9 @@ class HubPeer extends BaseFrameworkSystem { /** * The private constructor */ - private function __construct () { + protected function __construct () { // Call parent constructor - parent::constructor(__CLASS__); + parent::__construct(__CLASS__); // Set description $this->setObjectDescription("Hub-Peer");