From 8f7f5aa6ecfe8b8651e110c1b1b44847a6cd5502 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Sat, 12 Sep 2015 00:49:20 +0200 Subject: [PATCH] Wording updated. Signed-off-by: Roland Haeder --- .../classes/listener/class_BaseListenerDecorator.php | 10 +++++----- .../pool/monitor/class_RawDataPoolMonitorVisitor.php | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/application/hub/classes/listener/class_BaseListenerDecorator.php b/application/hub/classes/listener/class_BaseListenerDecorator.php index ab44d2d6f..1f92e8a3f 100644 --- a/application/hub/classes/listener/class_BaseListenerDecorator.php +++ b/application/hub/classes/listener/class_BaseListenerDecorator.php @@ -118,7 +118,7 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable { $handlerInstance = $this->getListenerInstance()->getHandlerInstance(); /* - * Does our deocorated listener (or even a decorator again) have a + * Does the deocorated listener (or even a decorator again) have a * handler assigned? Remember that a handler will hold all incoming raw * data and not a listener. */ @@ -138,11 +138,11 @@ class BaseListenerDecorator extends BaseDecorator implements Visitable { $receiverInstance = NetworkPackageFactory::createNetworkPackageInstance(); /* - * We have some pending decoded data. The receiver instance is an + * There is some decoded data waiting. The receiver instance is an * abstract network package (which can be received and sent out) so - * handle the decoded data over. At this moment we don't need to know - * if the decoded data origins from a TCP or UDP connection so we can - * just pass it over to the network package receiver + * handle the decoded data over. At this moment it is not needed to + * 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__)->debugOutput('BASE-LISTENER-DECORATOR[' . __METHOD__ . ':' . __LINE__ . '] Going to handle over some raw data to receiver instance (' . $receiverInstance->__toString() . ') ...'); $receiverInstance->addRawDataToIncomingStack($handlerInstance); diff --git a/application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php b/application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php index 630360f5e..dc8058291 100644 --- a/application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php +++ b/application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php @@ -69,8 +69,8 @@ class RawDataPoolMonitorVisitor extends BaseVisitor implements PoolVisitor, List public function visitListener (Listenable $listenerInstance) { /* * The listener itself cannot distinguish between node and client - * traffic. This is why we don't call its monitorIncomingRawData() - * method. + * traffic. This is why its method monitorIncomingRawData() is not + * called. */ //* DEBUG: */ self::createDebugInstance(__CLASS__)->debugOutput('[' . __METHOD__ . ':' . __LINE__ . ' ]: listenerInstance=' . $listenerInstance->__toString() . ' - CALLED!'); } -- 2.39.5