From: Roland Häder Date: Tue, 7 Jul 2009 19:34:15 +0000 (+0000) Subject: Debug message added X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=2c95548728e4215eb0ef26027e452de53ec032b0;p=hub.git Debug message added --- diff --git a/application/hub/main/pools/listener/class_DefaultListenerPool.php b/application/hub/main/pools/listener/class_DefaultListenerPool.php index ce7fe90c5..524e81c0a 100644 --- a/application/hub/main/pools/listener/class_DefaultListenerPool.php +++ b/application/hub/main/pools/listener/class_DefaultListenerPool.php @@ -61,6 +61,13 @@ class DefaultListenerPool extends BasePool implements Poolable { public function addListener (Listenable $listenerInstance) { // Add this listener instance to the instance list parent::addInstance('listener', $listenerInstance); + + // Debug message + $this->getDebugInstance()->output( + 'POOL: Listener ' . $listenerInstance->__toString() . + ' listening to ' . $listenerInstance->getListenAddress() . ':' . + $listenerInstance->getListenPort() . ' added to listener pool.' + ); } }