]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/pools/listener/class_DefaultListenerPool.php
Grouping by protocol of listeners in pool added
[hub.git] / application / hub / main / pools / listener / class_DefaultListenerPool.php
index 524e81c0a5ea674079beb6783f4ee486be860f3e..051f7e62225a8a90a416b425db498f4bd99a0adb 100644 (file)
@@ -60,7 +60,7 @@ class DefaultListenerPool extends BasePool implements Poolable {
         */
        public function addListener (Listenable $listenerInstance) {
                // Add this listener instance to the instance list
-               parent::addInstance('listener', $listenerInstance);
+               parent::addInstance($listenerInstance->getProtocol(), 'listener', $listenerInstance);
 
                // Debug message
                $this->getDebugInstance()->output(