]> git.mxchange.org Git - core.git/commitdiff
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 3c3f77d0bd635e839f9ddedf585a157141e2fee3..f957448c09710a5fe94b60d091de7dc7ef4a809c 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 3e7fb8ebda183be31bc6da1562cd0bdb989e5fc6..d6e97bfc9b2e2d8372ed5ca82cd750c3cee8a18d 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]
 ?>