// Launch the hub main routine here
$this->getControllerInstance()->handleRequest($requestInstance, $responseInstance);
- die("STOP\n");
-
- // -------------------------- 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
- // until the hub is no longer active.
- while ($nodeInstance->isHubActive()) {
- } // END - while
// -------------------------- Shutdown phase --------------------------
// Shutting down the hub by saying "good bye" to all connected clients