Renamed Registry -> GenericRegistry to make it clear that this registry does
[core.git] / inc / main / classes / listener / class_BaseListenerDecorator.php
index 9310865259a7673bfeb2750607f4c7cde5e2e510..88734973b5ec9709e85d4ef48b45917e7f03ec34 100644 (file)
@@ -1,7 +1,4 @@
 <?php
-// Own namespace
-namespace CoreFramework\Listener;
-
 /**
  * A general decorator for listeners to communicate to hubs
  *
@@ -24,7 +21,7 @@ namespace CoreFramework\Listener;
  * You should have received a copy of the GNU General Public License
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
-class BaseListenerDecorator extends BaseDecorator implements Visitable {
+abstract class BaseListenerDecorator extends BaseDecorator implements Visitable {
        /**
         * Listener type
         */
@@ -127,7 +124,7 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable {
                 */
                if (!$handlerInstance instanceof Networkable) {
                        // Skip this silently for now. Later on, this will become mandatory!
-                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('No handler assigned to this listener decorator. this=' . $this->__toString() . ', listenerInstance=' . $this->getListenerInstance()->__toString());
+                       //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('No handler assigned to this listener decorator. this=' . $this->__toString() . ', listenerInstance=' . $this->getListenerInstance()->__toString());
                        return;
                } // END - if
 
@@ -147,7 +144,7 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable {
                 * know if the decoded data origins from a TCP or UDP connection so it
                 * can just be passed over to the network package receiver.
                 */
-               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('BASE-LISTENER-DECORATOR[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ') ...');
+               //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('BASE-LISTENER-DECORATOR[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ') ...');
                $receiverInstance->addRawDataToIncomingStack($handlerInstance);
        }