]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/visitor/pool/shutdown/class_ShutdownListenerPoolVisitor.php
Rewrote debug lines (even more), re-enabled debugging lines in socket layer
[hub.git] / application / hub / main / visitor / pool / shutdown / class_ShutdownListenerPoolVisitor.php
index 45262dd700edf874bcf90b266a536d30b1bdd429..faaf1dbee4e8e64fb8e7ce85a8f0ec4f85f481ba 100644 (file)
@@ -56,13 +56,13 @@ class ShutdownListenerPoolVisitor extends BaseVisitor implements PoolVisitor {
         */
        public function visitPool (Poolable $poolInstance) {
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $poolInstance->__toString() . ' - START');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $poolInstance->__toString() . ' - START');
 
                // Pre-shutdown the pool
                $poolInstance->preShutdown();
 
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $poolInstance->__toString() . ' - FINISHED');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $poolInstance->__toString() . ' - FINISHED');
        }
 
        /**
@@ -73,13 +73,13 @@ class ShutdownListenerPoolVisitor extends BaseVisitor implements PoolVisitor {
         */
        public function visitDecorator (Listenable $decoratorInstance) {
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $decoratorInstance->__toString() . ' - START');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $decoratorInstance->__toString() . ' - START');
 
                // Pre-shutdown the pool
                $decoratorInstance->doShutdown();
 
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $decoratorInstance->__toString() . ' - FINISHED');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $decoratorInstance->__toString() . ' - FINISHED');
        }
 
        /**
@@ -90,13 +90,13 @@ class ShutdownListenerPoolVisitor extends BaseVisitor implements PoolVisitor {
         */
        public function visitListener (Listenable $listenerInstance) {
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $listenerInstance->__toString() . ' - START');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $listenerInstance->__toString() . ' - START');
 
                // Pre-shutdown the pool
                $listenerInstance->doShutdown();
 
                // Debug message
-               $this->debugOutput('VISITOR: Visit of ' . $listenerInstance->__toString() . ' - FINISHED');
+               self::createDebugInstance(__CLASS__)->debugOutput('VISITOR: Visit of ' . $listenerInstance->__toString() . ' - FINISHED');
        }
 }