From: Roland Häder Date: Mon, 26 Oct 2020 04:03:39 +0000 (+0100) Subject: Continued: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1a426d3edceb360d4f184212308e7ac80873038b;p=hub.git Continued: - should be socket's protocol - removed setter debug lines Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/container/socket/class_SocketContainer.php b/application/hub/classes/container/socket/class_SocketContainer.php index 3de25c65e..dd7cb5c08 100644 --- a/application/hub/classes/container/socket/class_SocketContainer.php +++ b/application/hub/classes/container/socket/class_SocketContainer.php @@ -1531,7 +1531,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita * @return void */ public function setSocketFile (SplFileInfo $socketFile) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketFile=%s ...', strtoupper($this->getSocketType()), $socketFile)); + /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketFile=%s ...', strtoupper($this->getSocketProtocol()), $socketFile)); $this->socketFile = $socketFile; } @@ -1551,7 +1551,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita * @return void */ public function setSocketType ($socketType) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketType=%s ...', strtoupper($this->getSocketType()), $socketType)); + /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('%s-SOCKET: Setting socketType=%s ...', strtoupper($this->getSocketProtocol()), $socketType)); $this->socketType = $socketType; } diff --git a/application/hub/classes/package/deliverable/class_PackageData.php b/application/hub/classes/package/deliverable/class_PackageData.php index e512e1835..a37f978a8 100644 --- a/application/hub/classes/package/deliverable/class_PackageData.php +++ b/application/hub/classes/package/deliverable/class_PackageData.php @@ -81,7 +81,6 @@ class PackageData extends BaseHubSystem implements DeliverablePackage, Registera * @return void */ public function setPackageContent ($packageContent) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('PACKAGE-DATA: Setting packageContent()=%d ...', strlen($packageContent))); $this->packageContent = $packageContent; } @@ -101,7 +100,6 @@ class PackageData extends BaseHubSystem implements DeliverablePackage, Registera * @return void */ public function setContentHash ($contentHash) { - /* NOISY-DEBUG */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('PACKAGE-DATA: Setting contentHash()=%d ...', strlen($contentHash))); $this->contentHash = $contentHash; }