Socket resource added, port for bootstrap nodes is 9061 now
authorRoland Häder <roland@mxchange.org>
Sun, 13 Jun 2010 21:36:29 +0000 (21:36 +0000)
committerRoland Häder <roland@mxchange.org>
Sun, 13 Jun 2010 21:36:29 +0000 (21:36 +0000)
inc/classes/interfaces/resolver/state/class_StateResolver.php
inc/config/config-hubmaster.php

index 3c3f77d..f957448 100644 (file)
@@ -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
index 3e7fb8e..d6e97bf 100644 (file)
@@ -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]
 ?>