From 2c95548728e4215eb0ef26027e452de53ec032b0 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Roland=20H=C3=A4der?= <roland@mxchange.org>
Date: Tue, 7 Jul 2009 19:34:15 +0000
Subject: [PATCH] Debug message added

---
 .../hub/main/pools/listener/class_DefaultListenerPool.php  | 7 +++++++
 1 file changed, 7 insertions(+)

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.'
+		);
 	}
 }
 
-- 
2.39.5