* so the whole application runs on nice speed. This while-loop goes
* until the hub is no longer active or all tasks are killed.
*/
- while (($nodeInstance->isNodeActive()()) && ($handlerInstance->hasTasksLeft())) {
+ while (($nodeInstance->isNodeActive()) && ($handlerInstance->hasTasksLeft())) {
// Handle all tasks here
$handlerInstance->handleTasks();
} // END - while
public function activateNode (Requestable $requestInstance, Responseable $responseInstance) {
// Checks whether a listener is still active and shuts it down if one
// is still listening.
- if (($this->determineIfListenerIsActive()) && ($this->isNodeActive()())) {
+ if (($this->determineIfListenerIsActive()) && ($this->isNodeActive())) {
// Shutdown them down before they can hurt anything
$this->shutdownListenerPool();
} // END - if
*/
public final function isAcceptingAnnouncements () {
// Check it (this node must be active and not shutdown!)
- $acceptsAnnouncements = (($this->acceptsAnnouncements === true) && ($this->isNodeActive()());
+ $acceptsAnnouncements = (($this->acceptsAnnouncements === true) && ($this->isNodeActive());
// Return it
return $acceptsAnnouncements;