]> git.mxchange.org Git - hub.git/commitdiff
More debug lines, why are self-connects not working when debug code is enabled?
authorRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 23:18:34 +0000 (00:18 +0100)
committerRoland Haeder <roland@mxchange.org>
Sat, 15 Feb 2014 23:18:34 +0000 (00:18 +0100)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/main/handler/network/tcp/class_TcpRawDataHandler.php
application/hub/main/listener/class_BaseListenerDecorator.php

index 73a128770ed295b3688aa9c8f51ac24b76b71401..f97cafd686a65c48d4145436bce23f2e0503e285 100644 (file)
@@ -114,6 +114,7 @@ class TcpRawDataHandler extends BaseRawDataHandler implements Networkable {
                         * well-formed BASE64-encoded message with start and markers. This
                         * will be checked later on.
                         */
+                       /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('TCP-HANDLER[' . __LINE__ . ']: Adding ' . strlen($rawData) . ' bytes to stacker ...');
                        $this->addRawDataToStacker($rawData);
                }
        }
index fe61ada9955507ccc1c3698fee67271fd9dab40e..144d5e106bc309edda99c0449496c838068cae02 100644 (file)
@@ -151,6 +151,7 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable {
                 * if the decoded data origins from a TCP or UDP connection so we can
                 * just pass it over to the network package receiver
                 */
+               /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ' ...');
                $receiverInstance->addRawDataToIncomingStack($handlerInstance);
        }
 }