From: Roland Häder Date: Wed, 9 Nov 2011 01:55:59 +0000 (+0000) Subject: Some fixes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a8f9f37f919c18fd1f1e053e2e9393416706dcc0;p=hub.git Some fixes --- diff --git a/application/hub/interfaces/package/class_Deliverable.php b/application/hub/interfaces/package/class_Deliverable.php index 4ec749061..6da180133 100644 --- a/application/hub/interfaces/package/class_Deliverable.php +++ b/application/hub/interfaces/package/class_Deliverable.php @@ -82,11 +82,11 @@ interface Deliverable extends FrameworkInterface { function sendWaitingPackage (); /** - * Clears all stacks + * Clears all stacker * * @return void */ - function clearAllStacks (); + function clearAllStacker (); } // [EOF] diff --git a/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php b/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php index 1f29e6e3b..3927ceba8 100644 --- a/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php +++ b/application/hub/main/database/wrapper/states/class_PeerStateLookupDatabaseWrapper.php @@ -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; diff --git a/application/hub/main/package/class_NetworkPackage.php b/application/hub/main/package/class_NetworkPackage.php index e40c73951..5f5aeb880 100644 --- a/application/hub/main/package/class_NetworkPackage.php +++ b/application/hub/main/package/class_NetworkPackage.php @@ -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.'); } } diff --git a/application/hub/main/visitor/socket/class_ShutdownSocketVisitor.php b/application/hub/main/visitor/socket/class_ShutdownSocketVisitor.php index 60eb3abba..557bb9bc4 100644 --- a/application/hub/main/visitor/socket/class_ShutdownSocketVisitor.php +++ b/application/hub/main/visitor/socket/class_ShutdownSocketVisitor.php @@ -78,7 +78,7 @@ class ShutdownSocketVisitor extends BaseVisitor implements Visitor { */ public function visitNetworkPackage (Deliverable $packageInstance) { // Just call it back - $packageInstance->clearAllStacks(); + $packageInstance->clearAllStacker(); } }