From 8609caef4796defa18e4ebe0586bc502d75fb338 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Sun, 13 Jun 2010 21:36:29 +0000 Subject: [PATCH] Socket resource added, port for bootstrap nodes is 9061 now --- inc/classes/interfaces/resolver/state/class_StateResolver.php | 3 ++- inc/config/config-hubmaster.php | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/classes/interfaces/resolver/state/class_StateResolver.php b/inc/classes/interfaces/resolver/state/class_StateResolver.php index 3c3f77d0..f957448c 100644 --- a/inc/classes/interfaces/resolver/state/class_StateResolver.php +++ b/inc/classes/interfaces/resolver/state/class_StateResolver.php @@ -27,9 +27,10 @@ interface StateResolver extends Resolver { * * @param $packageInstance An instance of a package class * @param $packageData Raw package data + * @param $socketResource A valid socket resource * @return $stateInstance An instance of the resolved state */ - function resolveStateByPackage (Networkable $packageInstance, array $packageData); + function resolveStateByPackage (Networkable $packageInstance, array $packageData, $socketResource); /** * Checks wether the given state is valid diff --git a/inc/config/config-hubmaster.php b/inc/config/config-hubmaster.php index 3e7fb8eb..d6e97bfc 100644 --- a/inc/config/config-hubmaster.php +++ b/inc/config/config-hubmaster.php @@ -25,7 +25,7 @@ $cfg = FrameworkConfiguration::getInstance(); // CFG: HUB-BOOTSTRAP-NODES -$cfg->setConfigEntry('hub_bootstrap_nodes', '192.168.1.1:9060'); +$cfg->setConfigEntry('hub_bootstrap_nodes', '192.168.1.1:9061'); // [EOF] ?> -- 2.39.5