]> git.mxchange.org Git - hub.git/blobdiff - application/hub/interfaces/distributable/class_Distributable.php
Rewrites:
[hub.git] / application / hub / interfaces / distributable / class_Distributable.php
index 4af98d668253ba7039b6e21557031b7cfb935400..ad031b4565cb10c9ee72abaed4692fb8f3c98a7b 100644 (file)
@@ -46,10 +46,11 @@ interface Distributable extends FrameworkInterface {
         * - listen-port (TCP/UDP listen port for inbound connections)
         *
         * @param       $messageArray           An array with all minimum message data
-        * @param       $handlerInstance        An instance of a HandleableMessage class
+        * @param       $handlerInstance        An instance of a Handleable class
+        * @param       $forceUpdate            Optionally force update, don't register (default: register if not found)
         * @return      void
         */
-       function registerNodeByMessageData (array $messageData, HandleableMessage $handlerInstance);
+       function registerNodeByMessageData (array $messageData, Handleable $handlerInstance, $forceUpdate = FALSE);
 }
 
 // [EOF]