]> git.mxchange.org Git - hub.git/commitdiff
Some fixes
authorRoland Häder <roland@mxchange.org>
Wed, 9 Nov 2011 01:55:59 +0000 (01:55 +0000)
committerRoland Häder <roland@mxchange.org>
Wed, 9 Nov 2011 01:55:59 +0000 (01:55 +0000)
application/hub/interfaces/package/class_Deliverable.php
application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php
application/hub/main/package/class_NetworkPackage.php
application/hub/main/visitor/socket/class_ShutdownSocketVisitor.php

index 4ec7490611528d38e42171d58d229551548bbaa0..6da180133f8c0648beb0ffa4b3975b8ec60096da 100644 (file)
@@ -82,11 +82,11 @@ interface Deliverable extends FrameworkInterface {
        function sendWaitingPackage ();
 
        /**
-        * Clears all stacks
+        * Clears all stacker
         *
         * @return      void
         */
-       function clearAllStacks ();
+       function clearAllStacker ();
 }
 
 // [EOF]
index 1f29e6e3bc986f5a2d821a1aad7121796a5b1aed..3927ceba83981fd9b07f4e3fcd22b5dea9b40622 100644 (file)
@@ -260,7 +260,7 @@ class PeerStateLookupDatabaseWrapper extends BaseDatabaseWrapper implements Look
                $isSamePeerState = ($rowData[self::DB_COLUMN_PEER_STATE] == $helperInstance->getPrintableState());
 
                // Debug message
-               /* NOISY-DEBUG: */ $this->debugOutput('DATABASE-WRAPPER: previous state=' . $rowData[self::DB_COLUMN_PEER_STATE] . ', current state=' . $helperInstance->getPrintableState() . ',isSamePeerState=' . intval($isSamePeerState));
+               /* NOISY-DEBUG: */ $this->debugOutput('DATABASE-WRAPPER: state in database: ' . $rowData[self::DB_COLUMN_PEER_STATE] . ', new state: ' . $helperInstance->getPrintableState() . ',isSamePeerState=' . intval($isSamePeerState));
 
                // Return it
                return $isSamePeerState;
index e40c73951baefd0cd054708f79fe3477c05c6f20..5f5aeb8808109cc42bf388b1a7f6f46676713d0e 100644 (file)
@@ -667,11 +667,11 @@ class NetworkPackage extends BaseFrameworkSystem implements Deliverable, Receiva
        }
 
        /**
-        * Clears all stacks
+        * Clears all stacker
         *
         * @return      void
         */
-       public function clearAllStacks () {
+       public function clearAllStacker () {
                // Do the cleanup (no flushing)
                foreach (
                        array(
@@ -687,7 +687,7 @@ class NetworkPackage extends BaseFrameworkSystem implements Deliverable, Receiva
                } // END - foreach
 
                // Debug message
-               /* DEBUG: */ $this->debugOutput('PACKAGE: All stackers has be re-initialized.');
+               /* DEBUG: */ $this->debugOutput('PACKAGE: All stacker have been re-initialized.');
        }
 }
 
index 60eb3abba11a87c91d5e8d3d8e9b8f3eac162e4c..557bb9bc41a3b7963370371c1c122298e05b63e5 100644 (file)
@@ -78,7 +78,7 @@ class ShutdownSocketVisitor extends BaseVisitor implements Visitor {
         */
        public function visitNetworkPackage (Deliverable $packageInstance) {
                // Just call it back
-               $packageInstance->clearAllStacks();
+               $packageInstance->clearAllStacker();
        }
 }