]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 26 Oct 2020 04:03:39 +0000 (05:03 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 26 Oct 2020 04:03:39 +0000 (05:03 +0100)
- should be socket's protocol
- removed setter debug lines

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/classes/container/socket/class_SocketContainer.php
application/hub/classes/package/deliverable/class_PackageData.php

index 3de25c65eab3ac56893279d99b619369085a1d2f..dd7cb5c08d622b52ec71966781190f09ea4c124f 100644 (file)
@@ -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;
        }
 
index e512e18359c9d01edbce2672220d7c49ad26d460..a37f978a87daf8c73666cbac0f88cf5dd40839dd 100644 (file)
@@ -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;
        }