From: Roland Häder Date: Sun, 13 Jun 2010 21:36:29 +0000 (+0000) Subject: Socket resource added, port for bootstrap nodes is 9061 now X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=8609caef4796defa18e4ebe0586bc502d75fb338;p=core.git Socket resource added, port for bootstrap nodes is 9061 now --- 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] ?>