added new socketmanager, testing and exception ahndling not done yet

This commit is contained in:
kremsy
2015-06-21 20:45:48 +02:00
parent fc5a3e04b6
commit fa899e87a8
6 changed files with 179 additions and 37 deletions

View File

@ -153,8 +153,6 @@ class CallbackManager {
return $this->removeCallbackListener($this->callbackListenings, $listener);
}
//TODO better name (used only in customvotesPlugin)
/**
* Remove the Callback Listener from the given Listeners Array
*
@ -212,6 +210,9 @@ class CallbackManager {
// Manage Timings
$this->maniaControl->getTimerManager()->manageTimings();
// Manage Socket Tickets
$this->maniaControl->getSocketManager()->tick();
// Server Callbacks
if (!$this->maniaControl->getClient()) {
return;