// will help us to communicate between the "tasks" a hub needs to do.
$nodeInstance->initQueues();
+ // -------------------------- Hub activation --------------------------
+ // Activates the hub by doing some final preparation steps and setting
+ // the attribute $hubIsActive to true
+ $nodeInstance->activateHub();
+
// ----------------------------- Main loop ----------------------------
// This is the main loop. Queried calls should come back here very fast
// so the whole application runs on nice speed. This while-loop goes