]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Sun, 19 Feb 2023 00:40:05 +0000 (01:40 +0100)
committerRoland Häder <roland@mxchange.org>
Sun, 19 Feb 2023 00:40:05 +0000 (01:40 +0100)
- method partialStub() has been moved to DebugMiddleware

123 files changed:
application/hub/classes/apt-proxy/class_
application/hub/classes/apt-proxy/console/class_NodeConsoleAptProxy.php
application/hub/classes/chat/class_
application/hub/classes/chat/console/class_NodeConsoleChat.php
application/hub/classes/communicator/class_BaseCommunicator.php
application/hub/classes/container/socket/class_SocketContainer.php
application/hub/classes/crawler/class_
application/hub/classes/crawler/class_BaseNodeCrawler.php
application/hub/classes/crawler/console/class_NodeConsoleDistributedCrawler.php
application/hub/classes/cruncher/class_
application/hub/classes/cruncher/class_BaseHubCruncher.php
application/hub/classes/cruncher/openssl/class_HubOpenSslCruncher.php
application/hub/classes/database/frontend/node_dht/class_NodeDistributedHashTableDatabaseFrontend.php
application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseFrontend.php
application/hub/classes/dht/class_
application/hub/classes/dht/class_BaseDht.php
application/hub/classes/discovery/class_BaseNodeDiscovery.php
application/hub/classes/filter/activation/node/class_NodeActivation
application/hub/classes/filter/bootstrap/apt-proxy/class_AptProxyBootstrap
application/hub/classes/filter/bootstrap/chat/class_ChatBootstrap
application/hub/classes/filter/bootstrap/crawler/class_CrawlerBootstrap
application/hub/classes/filter/bootstrap/cruncher/class_CruncherBootstrap
application/hub/classes/filter/bootstrap/miner/class_MinerBootstrap
application/hub/classes/filter/bootstrap/node/class_NodeBootstrap
application/hub/classes/filter/chat/class_Chat
application/hub/classes/filter/class_
application/hub/classes/filter/cruncher/class_Cruncher
application/hub/classes/filter/miner/class_Miner
application/hub/classes/filter/node/class_Node
application/hub/classes/filter/shutdown/node/class_NodeShutdown
application/hub/classes/filter/shutdown/node/class_NodeShutdownFlushNodeListFilter.php
application/hub/classes/handler/data/answer-status/class_
application/hub/classes/handler/data/class_
application/hub/classes/handler/data/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php
application/hub/classes/handler/data/message-types/class_
application/hub/classes/handler/package/class_NetworkPackageHandler.php
application/hub/classes/handler/raw_data/socket/class_SocketRawDataHandler.php
application/hub/classes/handler/raw_data/tcp/class_
application/hub/classes/handler/raw_data/udp/class_UdpRawDataHandler.php
application/hub/classes/helper/class_
application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php
application/hub/classes/helper/connection/ipv4/udp/class_UdpConnectionHelper.php
application/hub/classes/helper/node/class_
application/hub/classes/helper/work_units/class_
application/hub/classes/helper/work_units/cruncher/class_CruncherTestUnitHelper.php
application/hub/classes/iterator/node/class_NodePingIterator.php
application/hub/classes/iterator/pool/handler/class_Handler
application/hub/classes/iterator/pool/shutdown/class_Shutdown
application/hub/classes/listener/class_
application/hub/classes/listener/socket/class_SocketFileListener.php
application/hub/classes/listener/socket/decorator/class_SocketFileListenerDecorator.php
application/hub/classes/listener/tcp/class_
application/hub/classes/listener/tcp/decorators/class_ClientTcpListenerDecorator.php
application/hub/classes/listener/tcp/decorators/class_HubTcpListenerDecorator.php
application/hub/classes/listener/udp/class_
application/hub/classes/listener/udp/decorators/class_ClientUdpListenerDecorator.php
application/hub/classes/listener/udp/decorators/class_HubUdpListenerDecorator.php
application/hub/classes/miner/chash/class_HubCoinMiner.php
application/hub/classes/miner/class_
application/hub/classes/miner/class_BaseHubMiner.php
application/hub/classes/nodes/boot/class_HubBootNode.php
application/hub/classes/nodes/class_
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/nodes/list/class_HubListNode.php
application/hub/classes/nodes/master/class_HubMasterNode.php
application/hub/classes/nodes/regular/class_HubRegularNode.php
application/hub/classes/pools/class_
application/hub/classes/pools/class_BasePool.php
application/hub/classes/producer/class_
application/hub/classes/producer/cruncher/keys/cruncher/class_CruncherKeyProducer.php
application/hub/classes/producer/cruncher/work_units/cruncher/class_CruncherTestUnitProducer.php
application/hub/classes/producer/miner/blocks/miner/class_MinerRealGenesisBlockProducer.php
application/hub/classes/producer/miner/blocks/miner/class_MinerTestGenesisBlockProducer.php
application/hub/classes/recipient/class_
application/hub/classes/resolver/protocol/class_
application/hub/classes/source/urls/class_Crawler
application/hub/classes/source/urls/class_CrawlerFoundRssUrlSource.php
application/hub/classes/source/urls/class_CrawlerLocalStartUrlSource.php
application/hub/classes/source/urls/class_CrawlerRssStartUrlSource.php
application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php
application/hub/classes/states/crawler/active/class_CrawlerActiveState.php
application/hub/classes/states/crawler/booting/class_CrawlerBootingState.ph
application/hub/classes/states/crawler/booting/class_CrawlerBootingState.php
application/hub/classes/states/crawler/init/class_CrawlerInitState.php
application/hub/classes/states/cruncher/class_Cruncher
application/hub/classes/states/miner/class_Miner
application/hub/classes/tasks/apt-proxy/class_
application/hub/classes/tasks/apt-proxy/class_AptProxyListenerTask.php
application/hub/classes/tasks/chat/class_
application/hub/classes/tasks/chat/class_ChatTelnetListenerTask.php
application/hub/classes/tasks/crawler/class_Crawler
application/hub/classes/tasks/crawler/document_parser/class_CrawlerDocumentParserTask.php
application/hub/classes/tasks/crawler/mime_sniffer/class_CrawlerMimeSnifferTask.php
application/hub/classes/tasks/crawler/ping/class_CrawlerPingTask.php
application/hub/classes/tasks/crawler/publisher/class_CrawlerRemoteJobPublisherTask.php
application/hub/classes/tasks/crawler/snippet_extractor/class_CrawlerSnippetExtractorTask.php
application/hub/classes/tasks/crawler/structure_analyzer/class_CrawlerStructureAnalyzerTask.php
application/hub/classes/tasks/crawler/url_crawler/local/class_CrawlerLocalUrlCrawlerTask.php
application/hub/classes/tasks/crawler/url_crawler/remote/class_CrawlerRemoteUrlCrawlerTask.php
application/hub/classes/tasks/cruncher/class_Cruncher
application/hub/classes/tasks/miner/class_Miner
application/hub/classes/tasks/network/class_NetworkPackage
application/hub/classes/tasks/node/class_Node
application/hub/classes/tasks/node/dht/class_NodeDht
application/hub/classes/tasks/node/listener/class_NodeSocketListenerTask.php
application/hub/classes/tasks/node/ping/class_NodePingTask.php
application/hub/classes/tasks/node/update/class_NodeUpdateCheckTask.php
application/hub/classes/template/xml/announcement/class_XmlAnnouncementTemplateEngine.php
application/hub/classes/template/xml/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php
application/hub/classes/template/xml/answer/class_
application/hub/classes/template/xml/answer/dht/class_XmlDhtBootstrapAnswerTemplateEngine.php
application/hub/classes/template/xml/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php
application/hub/classes/template/xml/class_
application/hub/classes/template/xml/connect/class_XmlSelfConnectTemplateEngine.php
application/hub/classes/template/xml/dht/bootstrap/class_XmlDhtBootstrapTemplateEngine.php
application/hub/classes/template/xml/dht/publish/class_XmlDhtPublishEntryTemplateEngine.php
application/hub/classes/template/xml/entries/class_XmlRequestNodeListEntryTemplateEngine.php
application/hub/classes/template/xml/objects/class_XmlObjectRegistryTemplateEngine.php
application/hub/classes/template/xml/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php
application/hub/classes/template/xml/requests/class_XmlRequestNodeListTemplateEngine.php
application/hub/classes/visitor/pool/class_
application/hub/classes/visitor/pool/handler/class_Handler
application/hub/classes/visitor/pool/shutdown/class_Shutdown

index deb4aa4998657720bc49e39878f31c50a87f1383..6a3c644ac1c0a53d5ee3fb8733cfca753e2ff978 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\AptProxy;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Controller\Controller;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
 /**
@@ -60,7 +61,7 @@ class Node???AptProxy extends BaseNodeAptProxy implements AptProxyter {
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -70,7 +71,7 @@ class Node???AptProxy extends BaseNodeAptProxy implements AptProxyter {
         * @return      void
         */
        public function outputConsoleTeaser () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -81,9 +82,6 @@ class Node???AptProxy extends BaseNodeAptProxy implements AptProxyter {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index 942c92d2038575a38ceebce65c5073507321a557..dc3c37eaa243ecc9f2ade19f5421fd028358ad0e 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\AptProxy;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -62,7 +63,7 @@ class NodeConsoleAptProxy extends BaseNodeAptProxy implements AptProxy, Register
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -94,7 +95,7 @@ class NodeConsoleAptProxy extends BaseNodeAptProxy implements AptProxy, Register
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 28a6675a1296f91abd93a651a394e7abf24eeff9..ef8a11e871dfdcf875eb9f37fdf8c8490715b4ba 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Chat;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Controller\Controller;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
 /**
@@ -60,7 +61,7 @@ class Node???Chat extends BaseNodeChat implements Chatter {
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -70,7 +71,7 @@ class Node???Chat extends BaseNodeChat implements Chatter {
         * @return      void
         */
        public function outputConsoleTeaser () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -81,9 +82,6 @@ class Node???Chat extends BaseNodeChat implements Chatter {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index 16317d24d5603e98473ee765349424da87cdd749..5d2bc88526120a6df451773c043a0a9490ce278b 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Chat;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -62,7 +63,7 @@ class NodeConsoleChat extends BaseNodeChat implements Chatter, Registerable {
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -94,7 +95,7 @@ class NodeConsoleChat extends BaseNodeChat implements Chatter, Registerable {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 042bae619ffb51c36de4cc42f1694ed10d73d50b..b09dc901919969449ae6bea9602c78884f58da8e 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Factory\State\Communicator\CommunicatorStateFactory;
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 use Org\Mxchange\CoreFramework\Traits\State\StateableTrait;
 
@@ -66,7 +67,7 @@ abstract class BaseCommunicator extends BaseHubSystem {
         * @return      void
         */
        public function initExecutor (Stateable $stateInstance) {
-               $this->partialStub('Unfinished method with state ' . $this->getPrintableState() . '.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method with state ' . $this->getPrintableState() . '.');
 
                // This communicator is now fully initialized so change the state
                $stateInstance->communicatorHasInitialized();
index a59497b60097be0a23308d491f20ae04b8185be4..654b4d83684d3528600aae19d9e450b4ab351035 100644 (file)
@@ -20,6 +20,7 @@ use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
 use Org\Mxchange\CoreFramework\Helper\Helper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Socket\InvalidSocketException;
 use Org\Mxchange\CoreFramework\Socket\NoSocketErrorDetectedException;
@@ -318,7 +319,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita
                 */
                if ($this->getSocketProtocol() == StorableSocket::SOCKET_PROTOCOL_UDP) {
                        // UDP is work-in-progress:
-                       $this->partialStub('UDP sockets are unfinished.');
+                       DebugMiddleware::getSelfInstance()->partialStub('UDP sockets are unfinished.');
                } else {
                        // Use socket_getpeername()
                        $result = socket_getpeername($this->getSocketResource(), $peerAddress, $peerPort);
@@ -674,7 +675,7 @@ class SocketContainer extends BaseHubContainer implements StorableSocket, Visita
 
                // Debug message
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(strtoupper($this->getSocketProtocol()) . '-SOCKET: Shutting down socket ' . $this->getSocketResource());
-               $this->partialStub('Please rewrite this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please rewrite this method.');
                return;
 
                // Clear any previous errors
index d3dc5ba984abf7d41a2c1855694d0d92788ef1e6..b903a9726bccafcbdd32432b5c381b6e02dfa71b 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Crawler;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
 /**
@@ -59,7 +60,7 @@ class Node???Crawler extends BaseNodeCrawler implements Crawler {
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -69,7 +70,7 @@ class Node???Crawler extends BaseNodeCrawler implements Crawler {
         * @return      void
         */
        public function outputConsoleTeaser () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -80,7 +81,7 @@ class Node???Crawler extends BaseNodeCrawler implements Crawler {
         * @return      void
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index a8d96d45f1d1de52b2c1428939edcd400c71a8a8..d410a9d5b841f03b3fcbd3a4800dd8843c5b1bf4 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\Factory\State\CrawlerStateFactory;
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\State\Stateable;
 use Org\Mxchange\CoreFramework\Traits\State\StateableTrait;
@@ -78,7 +79,7 @@ abstract class BaseNodeCrawler extends BaseHubSystem {
         */
        public function initCrawler (Stateable $stateInstance) {
                // Please implement
-               $this->partialStub('Unfinished method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method.');
        }
 
        /**
index d23b257347f5f3e34b2388e412cdf09dd49b144b..ccd8bc4e28898f1383b4ec5f96cb327a890abf85 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler;
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -64,7 +65,7 @@ class NodeConsoleDistributedCrawler extends BaseNodeCrawler implements Crawler,
         * @return      void
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 809cf70b284dceae3a0290dcf4e07f0c5204e73f..bc51c590c9f5e520919d9262eb3942527ae01741 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Cruncher;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -65,7 +66,7 @@ class Hub???Cruncher extends BaseHubCruncher implements CruncherHelper, Register
        public function doBootstrapping () {
                // Call generic (parent) bootstrapping method first
                parent::doGenericBootstrapping();
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -75,7 +76,7 @@ class Hub???Cruncher extends BaseHubCruncher implements CruncherHelper, Register
         * @return      void
         */
        public function outputConsoleTeaser () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -87,6 +88,3 @@ class Hub???Cruncher extends BaseHubCruncher implements CruncherHelper, Register
                // Add some filters here
        }
 }
-
-// [EOF]
-?>
index 4c548d3b9ceb18324c8840ee488856d0d4532c87..fbae1b0c8e5dd53418fd77e345285e5d00abc19c 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Database\Updateable;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 
 /**
@@ -217,7 +218,7 @@ abstract class BaseHubCruncher extends BaseHubSystem implements Updateable {
         */
        public function updateDatabaseField ($fieldName, $fieldValue) {
                // Unfinished
-               $this->partialStub('Unfinished!');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished!');
                return;
        }
 
index bef6c552c9a3bbd49e7d5b64eccc902a47049937..022f5783fc3f1aac4de5a2507f1f4151757017c6 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Helper\Cruncher\CruncherHelper;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -110,7 +111,7 @@ class HubOpenSslCruncher extends BaseHubCruncher implements CruncherHelper, Regi
                }
 
                // @TODO Implement this method
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -122,7 +123,7 @@ class HubOpenSslCruncher extends BaseHubCruncher implements CruncherHelper, Regi
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -153,7 +154,7 @@ class HubOpenSslCruncher extends BaseHubCruncher implements CruncherHelper, Regi
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
                // Add some filters here
-               $this->partialStub('Please add some cruncher-specific filters, if required.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some cruncher-specific filters, if required.');
        }
 
 }
index 19133f5dac02e4241c6de0525de983dbe932e191..c61af61024f76810403472efe97990b82b2c7361 100644 (file)
@@ -17,6 +17,7 @@ use Org\Mxchange\CoreFramework\Criteria\Storing\StoreableCriteria;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Handler\DataSet\HandleableDataSet;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Result\Search\SearchableResult;
 
@@ -487,7 +488,7 @@ class NodeDistributedHashTableDatabaseFrontend extends BaseHubDatabaseFrontend i
                }
 
                // @TODO Unimplemented part
-               $this->partialStub('nodeData=' . print_r($nodeData, TRUE));
+               DebugMiddleware::getSelfInstance()->partialStub('nodeData=' . print_r($nodeData, TRUE));
 
                // Debug message
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('DHT-FRONTEND: EXIT!');
index 76bfc2752d7790e21ccf27359e9badc9bf7bb8d4..746056ef9d3655b47686c425e944f903c3e3afd8 100644 (file)
@@ -16,6 +16,7 @@ use Org\Shipsimu\Hub\Tools\HubTools;
 use Org\Mxchange\CoreFramework\Criteria\Local\LocalSearchCriteria;
 use Org\Mxchange\CoreFramework\Criteria\Storing\StoreableCriteria;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 // Import SPL stuff
 use \UnexpectedValueException;
@@ -229,7 +230,7 @@ class PeerStateLookupDatabaseFrontend extends BaseHubDatabaseFrontend implements
         * @todo        Unfinished area, please rewrite!
         */
        public function purgeOldEntriesBySocketInstance (StorableSocket $socketInstance) {
-               $this->partialStub('Please finish this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please finish this method.');
        }
 
        /**
index 691220d89bb00b056d15fa5a761ae443ea5dcbe0..cbb5a5f19ec21f118d6f45dacfa896deae0bb312 100644 (file)
@@ -6,6 +6,9 @@ namespace Org\Shipsimu\Hub\Dht\;
 use Org\Shipsimu\Hub\Dht\BaseDht;
 use Org\Shipsimu\Hub\Dht\Distributable;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? DHT facade class
  *
@@ -62,9 +65,6 @@ class ???DhtFacade extends BaseDht implements Distributable {
         * @todo        0% done
         */
        protected function insertDataIntoDht (array $dhtData) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index 532819b02b07ecc2ac679b6818ac527957d403f0..2ea555305ced02305801ac2d83e6e0666b7a5c87 100644 (file)
@@ -12,6 +12,7 @@ use Org\Shipsimu\Hub\Helper\Dht\HelpableDht;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Result\Search\SearchableResult;
 use Org\Mxchange\CoreFramework\Traits\Stack\StackableTrait;
 use Org\Mxchange\CoreFramework\Traits\State\StateableTrait;
@@ -290,7 +291,7 @@ abstract class BaseDht extends BaseHubSystem implements Distributable {
        public function hasFullyBootstrapped () {
                // Get state and check it
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('BASE-DHT: CALLED!');
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index f15e405be2ede9f816e22821b60d2aa7c1346002..5ce921769502e8394fbda90dc86e664ed1eeb431 100644 (file)
@@ -7,6 +7,7 @@ use Org\Mxchange\CoreFramework\Discovery\BaseDiscovery;
 use Org\Mxchange\CoreFramework\Discovery\Discoverable;
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
 use Org\Mxchange\CoreFramework\Helper\Template\HelpableTemplate;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 
 /**
@@ -63,7 +64,7 @@ abstract class BaseNodeDiscovery extends BaseDiscovery implements Discoverable {
         */
        public function addResultsToHelper (HelpableTemplate $helperInstance) {
                // Undone part
-               $this->partialStub('Unfinished method. helperInstance=' . $helperInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method. helperInstance=' . $helperInstance->__toString());
        }
 
 }
index 9faf649834e0a6ef49c5d8d42a8c8d8992a5fb80..a5301ba544dc0fc66aa8ead1be494358734046ad 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -70,7 +71,7 @@ class HubActivation???Filter extends BaseNodeFilter implements Filterable {
                $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 }
 
index 8b0dc8c8b298f0bd98a03d09e6c0d43d278d9399..a3a59a947c3e21fd425d065378f5507509ab6477 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Bootstrap\AptProxy\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -67,7 +68,7 @@ class AptProxyBootstrap???Filter extends BaseAptProxyFilter implements Filterabl
                $proxyInstance = GenericRegistry::getRegistry()->getInstance('apt_proxy');
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index bc519412bb32dc1e79b2c4473f83568f5e4ffec0..72b9f4eb000f32e415fa3381c981a5648a10bad3 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Bootstrap\Chat\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -67,7 +68,7 @@ class ChatBootstrap???Filter extends BaseChatFilter implements Filterable {
                $chatInstance = GenericRegistry::getRegistry()->getInstance('chat');
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index 983517657621d3b8cde05eb99686334d2b290282..6c711e5631830e7e0d10592666c66fc31bea501d 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Bootstrap\Crawler\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -67,7 +68,7 @@ class CrawlerBootstrap???Filter extends BaseCrawlerFilter implements Filterable
                $crawlerInstance = GenericRegistry::getRegistry()->getInstance('crawler');
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index d23f4ee1a2602385c1c02640f38072082086b333..4679d0a3a0a589b966d2c759ae8aa0f597bbfb29 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Bootstrap\Cruncher\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -67,7 +68,7 @@ class CruncherBootstrap???Filter extends BaseCruncherFilter implements Filterabl
                $cruncherInstance = GenericRegistry::getRegistry()->getInstance('cruncher');
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index c86777e128a8d53732fc251c224232e802f3a1d2..a29d7d4aed4a5309421166a24a84d2fcf8533e31 100644 (file)
@@ -2,15 +2,16 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Filter\Bootstrap\Miner\;
 
+// Import application-specific stuff
+use Org\Shipsimu\Hub\Miner\Filter\BaseMinerFilter;
+
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
-// Import application-specific stuff
-use Org\Shipsimu\Hub\Miner\Filter\BaseMinerFilter;
-
 /**
  * A ??? filter for bootstrapping miners
  *
@@ -70,7 +71,7 @@ class MinerBootstrap???Filter extends BaseMinerFilter implements Filterable {
                $minerInstance = GenericRegistry::getRegistry()->getInstance('miner');
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index 9707a9367004e726e9b14aa2a8cd662981afd930..0e5913b9e79af925a2ac1847cf4b3a199a5d63bb 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -70,9 +71,6 @@ class NodeBootstrap???Filter extends BaseNodeFilter implements Filterable {
                $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 }
-
-// [EOF]
-?>
index 40961c9d77fa500952211803e57235eefe44e119..4a30119395e018c1051c96959bcd0206da97e2ad 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Chat\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -63,7 +64,7 @@ class Cruncher???Filter extends BaseCruncherFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Implement this!
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
 
index ba0ebefc4927fcca54d5fcd3e2f00ff6aff44641..61c15c40af9e038bb69a444fac139395d709dba2 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -71,7 +72,7 @@ class Hub!!!???Filter extends BaseHubFilter implements Filterable {
                $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index 1b689eb65969afa45778c78bae3f177075458e38..295f3624b1591adec82a119babc4440d25d59d56 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Cruncher\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -63,9 +64,6 @@ class Cruncher???Filter extends BaseCruncherFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Implement this!
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index 5866dfd203bde6c42266f5153e6ae67e4e70bfc0..67d1f066855058cda1a307da987b3d845f0f7621 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Filter\Miner\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -63,7 +64,7 @@ class Miner???Filter extends BaseminerFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Implement this!
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
 
index 606e716b54c9e35fa52d5f363067829360ae2806..db367f851b297ebff7479869d488e5b31ef6afc2 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -66,7 +67,7 @@ class Node???Filter extends BaseNodeFilter implements Filterable {
         */
        public function execute (Requestable $requestInstance, Responseable $responseInstance) {
                // Implement this!
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
 
index 0056d15d27fea5ffafb654933ddcd17632564beb..bf68e5da0de57364284ceec881d443f08ed392ac 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -71,7 +72,7 @@ class HubShutdown???Filter extends BaseNodeFilter implements Filterable {
                $nodeInstance = NodeObjectFactory::createNodeInstance($requestInstance, $responseInstance);
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index 223d915eadfc9696870d8c661ca40feff686a019..92885f70ede5da14a2acbe97a21bfe3eabc4d0b0 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Filter\Node\BaseNodeFilter;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Filter\Filterable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -71,7 +72,7 @@ class NodeShutdownFlushNodeListFilter extends BaseNodeFilter implements Filterab
                $nodeInstance = NodeObjectFactory::createNodeInstance();
 
                // Now do something
-               $this->partialStub('Please implement this step.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this step.');
        }
 
 }
index 709a5b8eef3fd3ec01b881b6fde59591dde301d4..f8e354397a708fb5a0c48891e199b40744002434 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? handler
  *
@@ -55,7 +58,7 @@ class ???Handler extends BaseAnserStatusHandler implements HandleableAnswerStatu
          * @return     void
          */
        public function handleAnswerMessageData (array $messageData) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 28d4c7692eef3b29e17a6217e7f6c0d6e8e95fc6..34fe3f396e6e4b48d80a5683b0616ee9cfa7701f 100644 (file)
@@ -5,6 +5,9 @@ namespace Org\Shipsimu\Hub\Handler\Network\;
 // Import application-specific stuff
 use Org\Shipsimu\Hub\Network\Networkable;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? network package handler
  *
@@ -71,7 +74,7 @@ class ???NetworkPackageHandler extends BaseNetworkPackageHandler implements Netw
                } // END - if
 
                // Implement processing here
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 61c35941a3bb1e31dae5704a328065daaf9ed3a1..5aaf1212d26dc992f3d5bfe6804515788b16f58c 100644 (file)
@@ -15,6 +15,7 @@ use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEng
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Criteria\Storing\StoreableCriteria;
 use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -117,7 +118,7 @@ class NodeMessageDhtBootstrapAnswerHandler extends BaseMessageHandler implements
                }
 
                // Unfinished
-               $this->partialStub('UNHANDLED: messageInstance=' . print_r($messageInstance, TRUE));
+               DebugMiddleware::getSelfInstance()->partialStub('UNHANDLED: messageInstance=' . print_r($messageInstance, TRUE));
        }
 
        /**
index 8b88bd65fc5a76f5d454981ec18b45a2fa1f3d0b..068a2df74632bf077b78e59ec5e521f9b2fb2334 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Handler\Message\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Criteria\Storing\StoreableCriteria;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A NodeMessage??? handler
@@ -102,7 +103,7 @@ class NodeMessage???Handler extends BaseMessageHandler implements HandleableMess
         * @return      void
         */
        protected function initMessageConfigurationData (array $messageData) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -113,7 +114,7 @@ class NodeMessage???Handler extends BaseMessageHandler implements HandleableMess
         * @return      void
         */
        protected function removeMessageConfigurationData (array $messageData) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 9ad80ce95a3d2e8d7f1e48f6947fb635f44dce80..c7cba6df0ce09d8ce0b6712d407899a4a45b16ad 100644 (file)
@@ -39,6 +39,7 @@ use Org\Mxchange\CoreFramework\Factory\Registry\Socket\SocketRegistryFactory;
 use Org\Mxchange\CoreFramework\Feature\FrameworkFeature;
 use Org\Mxchange\CoreFramework\Generic\FrameworkInterface;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Socket\InvalidSocketException;
@@ -1744,7 +1745,7 @@ class NetworkPackageHandler extends BaseHubHandler implements Deliverable, Recei
                unset($messageData[self::MESSAGE_ARRAY_TAGS]);
 
                // Unfinished stuff:
-               $this->partialStub(sprintf('[%s:%d]: @TODO nodeId=%s,messageInstance=%s', __METHOD__, __LINE__, $nodeId, print_r($messageInstance, TRUE)));
+               DebugMiddleware::getSelfInstance()->partialStub(sprintf('[%s:%d]: @TODO nodeId=%s,messageInstance=%s', __METHOD__, __LINE__, $nodeId, print_r($messageInstance, TRUE)));
        }
 
 }
index bc5676507a2989aad307fb23b71a8dfc14927131..a633cc3a8b246ccd7549a030e2dcb848f6ec64e7 100644 (file)
@@ -7,6 +7,9 @@ use Org\Shipsimu\Hub\Container\Socket\StorableSocket;
 use Org\Shipsimu\Hub\Handler\Network\RawData\BaseRawDataHandler;
 use Org\Shipsimu\Hub\Network\Networkable;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A file-based socket raw data handler
  *
@@ -64,7 +67,7 @@ class SocketRawDataHandler extends BaseRawDataHandler implements Networkable {
         * @return      void
         */
        public function processRawDataFromSocketInstance (StorableSocket $socketInstance) {
-               $this->partialStub('socketInstance=' . print_r($socketInstance, TRUE));
+               DebugMiddleware::getSelfInstance()->partialStub('socketInstance=' . print_r($socketInstance, TRUE));
        }
 
 }
index 002afdccefcc20790e92c8c9923d8c1a4cde8041..d292673414f0b90bc9161c887b243b23142d5dd7 100644 (file)
@@ -202,7 +202,7 @@ class ???Listener extends BaseListener implements Listenable, Visitable {
         * @todo        0% done
         */
        public function initListener() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
        /**
@@ -212,9 +212,7 @@ class ???Listener extends BaseListener implements Listenable, Visitable {
         * @todo        0% done
         */
        public function doListen() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
-}
 
-// [EOF]
-?>
+}
index 4660d9280fda5877694bd27ba4d80a640430743f..44b4942deca4f7cb049c1005da190197ae92c483 100644 (file)
@@ -8,6 +8,9 @@ use Org\Shipsimu\Hub\Handler\Network\RawData\BaseRawDataHandler;
 use Org\Shipsimu\Hub\Network\Networkable;
 use Org\Shipsimu\Hub\Pool\Poolable;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A UDP raw data handler
  *
@@ -70,7 +73,7 @@ class UdpRawDataHandler extends BaseRawDataHandler implements Networkable {
 
                // Debug message
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput(sprintf('UDP-HANDLER: Handling UDP package from socketResource=%s,last error=%s', $socketInstance->getSocketResource(), $socketInstance->getLastSocketErrorMessage()));
-               $this->partialStub('Please rewrite this part.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please rewrite this part.');
                return;
        }
 
index 39ec06987375b65eb6be1dc89f1e8a7b6b7adb2d..0ccb5e2b9547fcb5256a8757154042665340c45e 100644 (file)
@@ -7,6 +7,9 @@ use Org\Shipsimu\Hub\Factory\Network\NetworkPackageFactory;
 use Org\Shipsimu\Hub\Helper\BaseHubSystemHelper;
 use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? !!! helper class
  *
@@ -66,7 +69,7 @@ class !!!???Helper extends BaseHubSystemHelper implements Helpable!!! {
         * @return      void
         */
        public function loadDescriptorXml () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index ead29c53752fec5319ac170f6f8017c5766b95f1..e013a6ba419753444b3c415a8965fe2b0b3c67e5 100644 (file)
@@ -14,6 +14,7 @@ use Org\Shipsimu\Hub\Tools\HubTools;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A TCP connection helper class
@@ -111,7 +112,7 @@ class TcpConnectionHelper extends BaseIpV4ConnectionHelper implements Connection
                                $unlPort = $recipientArray[LocateableNode::UNL_PART_PORT];
 
                                // Create UNL instance
-                               $this->partialStub('Please rewrite this part.');
+                               DebugMiddleware::getSelfInstance()->partialStub('Please rewrite this part.');
                                //$locatorInstance =;
                        } else {
                                // It doesn't match, we need to take care of this later
@@ -151,7 +152,7 @@ class TcpConnectionHelper extends BaseIpV4ConnectionHelper implements Connection
                // Debug message
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('TCP-CONNECTION-HELPER: Shutting down connection ... - CALLED!');
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index e7d421cb2698ceed7f0e6fd088082cf4a1496561..28d644bd90e96981b722435be3737368f4a0a220 100644 (file)
@@ -8,6 +8,9 @@ use Org\Shipsimu\Hub\Helper\Connection\ConnectionHelper;
 use Org\Shipsimu\Hub\Helper\Connection\Network\IpV4\BaseIpV4ConnectionHelper;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A UDP connection helper class
  *
@@ -65,7 +68,7 @@ class UdpConnectionHelper extends BaseIpV4ConnectionHelper implements Connection
         * @todo        Implement a filter for ease notification of other objects like the pool
         */
        public function doShutdown () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 5645025e6e34cb05abd24d7606b3903bb166f296..a934f8ca93d3d711990a393a3fa1802da09f2cf3 100644 (file)
@@ -9,6 +9,9 @@ use Org\Shipsimu\Hub\Node\Node;
 use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
 use Org\Shipsimu\Hub\Node\Helper\HelpableNode;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? hub helper class
  *
@@ -65,7 +68,7 @@ class Node???Helper extends BaseNode implements HelpableNode {
         * @return      void
         */
        public function loadDescriptorXml () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index e67d25e9113e1e1f26c525bfd76c135be6cbaf7a..b482a92f3aa85f8db82dc4e1257b13c1f6886383 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? work unit helper
  *
@@ -52,7 +55,7 @@ class ???WorkUnitHelper extends BaseWorkUnitHelper implements UnitHelper {
         * @todo        0% done
         */
        protected function initializeUnitHelper () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -62,7 +65,7 @@ class ???WorkUnitHelper extends BaseWorkUnitHelper implements UnitHelper {
         * @todo        0% done
         */
        public function generateUnit () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index db5fce1cdca99e35d6857fc2383c8c4b634d60f5..cd80868f78945dc75ac274c3fbb5bcf631ce2cd2 100644 (file)
@@ -6,6 +6,9 @@ namespace Org\Shipsimu\Hub\Cruncher\Helper\WorkUnit\Test;
 use Org\Shipsimu\Hub\Helper\Unit\UnitHelper;
 use Org\Shipsimu\Hub\Helper\WorkUnit\BaseWorkUnitHelper;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A test unit helper for cruncher
  *
@@ -60,7 +63,7 @@ class CruncherTestUnitHelper extends BaseWorkUnitHelper implements UnitHelper {
         * @todo        0% done
         */
        protected function initializeUnitHelper () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -71,7 +74,7 @@ class CruncherTestUnitHelper extends BaseWorkUnitHelper implements UnitHelper {
         * @todo        0% done
         */
        public function generateNextUnitInstance () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 572d05b76b67bf7a5c9da85d7fe8f093bda80c76..11b28fe9f7df0c9ec9256463eee67cb63c5b5f94 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Iterator\Node\Ping;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Iterator\BaseIterator;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 // Import SPL stuff
 use \Iterator;
@@ -63,7 +64,7 @@ class NodePingIterator extends BaseIterator implements Iterator {
                // Default is null
                $current = NULL;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $current;
@@ -78,7 +79,7 @@ class NodePingIterator extends BaseIterator implements Iterator {
                // Default is null
                $key = NULL;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $key;
@@ -90,7 +91,7 @@ class NodePingIterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function next () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -99,7 +100,7 @@ class NodePingIterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function rewind () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -108,7 +109,7 @@ class NodePingIterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function valid () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index b1077370bb364f3af3073754ea6e780455c27c32..2df404e6089461a017a1ab9ea2bd74d18e7452b5 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Iterator\Handler\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Iterator\BaseIterator;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 // Import SPL stuff
 use \Iterator;
@@ -63,7 +64,7 @@ class Handler???Iterator extends BaseIterator implements Iterator {
                // Default is null
                $current = null;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $current;
@@ -78,7 +79,7 @@ class Handler???Iterator extends BaseIterator implements Iterator {
                // Default is null
                $key = null;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $key;
@@ -90,7 +91,7 @@ class Handler???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function next () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -99,7 +100,7 @@ class Handler???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function rewind () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -108,7 +109,7 @@ class Handler???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function valid () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
 
index 5921780299f901e64287b9b8ecfb46babd0b514a..c1e0468b807327802fa51d982ced07c2ad8c23de 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\Iterator\Shutdown\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Iterator\BaseIterator;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 // Import SPL stuff
 use \Iterator;
@@ -63,7 +64,7 @@ class Shutdown???Iterator extends BaseIterator implements Iterator {
                // Default is null
                $current = null;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $current;
@@ -78,7 +79,7 @@ class Shutdown???Iterator extends BaseIterator implements Iterator {
                // Default is null
                $key = null;
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Return it
                return $key;
@@ -90,7 +91,7 @@ class Shutdown???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function next () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -99,7 +100,7 @@ class Shutdown???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function rewind () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -108,7 +109,7 @@ class Shutdown???Iterator extends BaseIterator implements Iterator {
         * @return      void
         */
        public function valid () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
 
index 095283afa265cdce8eff67bfa6860bb7fb92c6fb..1730d1c3fa52ec366b7e727253d9c43469464227 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Listener\BaseListener;
 use Org\Shipsimu\Hub\Listener\Listenable;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A ??? listener
@@ -64,7 +65,7 @@ class ???Listener extends BaseListener implements Listenable {
         * @todo        0% done
         */
        public function initListener() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
        /**
@@ -74,7 +75,7 @@ class ???Listener extends BaseListener implements Listenable {
         * @todo        0% done
         */
        public function doListen() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
        /**
@@ -84,7 +85,7 @@ class ???Listener extends BaseListener implements Listenable {
         * @return      $accepts                Whether this listener does accept
         */
        public function ifListenerAcceptsPackageData (array $packageData) {
-               $this->partialStub('Need to implement this method.') {
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.') {
        }
 
        /**
@@ -94,7 +95,7 @@ class ???Listener extends BaseListener implements Listenable {
         * @return      void
         */
        public function monitorIncomingRawData () {
-               $this->partialStub('Need to implement this method.') {
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.') {
        }
 
 }
index 59c2fee9922f6a342cf508905fe7da4e6af0d098..130b8a2ba77041533211176850296e001fdcc161 100644 (file)
@@ -13,6 +13,7 @@ use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A file-based socket listener
@@ -160,7 +161,7 @@ class SocketFileListener extends BaseListener implements Listenable {
         * @return      void
         */
        public function monitorIncomingRawData () {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
 }
index a46c44a8fd33b9e5c5b980d3db53b47084b3e931..607a3946a88184ba565441d4c3174ff177eecb2b 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Listener\Listenable;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A decorator for the SocketFileListener to communicate to hubs
@@ -71,7 +72,7 @@ class SocketFileListenerDecorator extends BaseListenerDecorator implements Liste
         * @return      void
         */
        public function initListener () {
-               $this->partialStub('WARNING: This method should not be called.');
+               DebugMiddleware::getSelfInstance()->partialStub('WARNING: This method should not be called.');
        }
 
        /**
@@ -87,7 +88,7 @@ class SocketFileListenerDecorator extends BaseListenerDecorator implements Liste
                $this->getListenerInstance()->doListen();
 
                // Handle hub TCP package
-               $this->partialStub('Need to handle hub TCP package.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to handle hub TCP package.');
        }
 
        /**
index 456a0734ee8e909fa01585b98dbcfd94d7b2d865..c87876a2b1fcf99eabb7661738833d9086e8337e 100644 (file)
@@ -201,7 +201,7 @@ a    * @param       $nodeInstance           An instance of a Node class
         * @todo        0% done
         */
        public function initListener() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
        /**
@@ -211,7 +211,7 @@ a    * @param       $nodeInstance           An instance of a Node class
         * @todo        0% done
         */
        public function doListen() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
 }
index 5602de7a67357eb7539d96351abc462f7600ede1..122dfbe87d22d4a8f9b6f36bc0f9c31b093fb3a4 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Listener\Listenable;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A decorator for the TcpListener to communicate to peers
@@ -71,7 +72,7 @@ class ClientTcpListenerDecorator extends BaseListenerDecorator implements Listen
         * @return      void
         */
        public function initListener () {
-               $this->partialStub('WARNING: This method should not be called.');
+               DebugMiddleware::getSelfInstance()->partialStub('WARNING: This method should not be called.');
        }
 
        /**
@@ -87,7 +88,7 @@ class ClientTcpListenerDecorator extends BaseListenerDecorator implements Listen
                $this->getListenerInstance()->doListen();
 
                // Handle peer TCP package
-               $this->partialStub('Need to handle peer TCP package.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to handle peer TCP package.');
        }
 
        /**
index 919638cdcc55841dfd520420a55124826837428e..b280f6bc7691aac4875cc224cce1a645860106f2 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Listener\Listenable;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A decorator for the TcpListener to communicate to hubs
@@ -71,7 +72,7 @@ class HubTcpListenerDecorator extends BaseListenerDecorator implements Listenabl
         * @return      void
         */
        public function initListener () {
-               $this->partialStub('WARNING: This method should not be called.');
+               DebugMiddleware::getSelfInstance()->partialStub('WARNING: This method should not be called.');
        }
 
        /**
@@ -87,7 +88,7 @@ class HubTcpListenerDecorator extends BaseListenerDecorator implements Listenabl
                $this->getListenerInstance()->doListen();
 
                // Handle hub TCP package
-               $this->partialStub('Need to handle hub TCP package.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to handle hub TCP package.');
        }
 
        /**
index 83c55ada509bc61e3a98a1475624f4ac9c5fbdd0..85de50990f1568c9e8a90d5b76190413be14d071 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Listener\BaseListener;
 use Org\Shipsimu\Hub\Listener\Listenable;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * An UDP ??? listener
@@ -66,7 +67,7 @@ class Udp???Listener extends BaseListener implements Listenable {
         * @todo        0% done
         */
        public function initListener() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
        /**
@@ -76,7 +77,7 @@ class Udp???Listener extends BaseListener implements Listenable {
         * @todo        0% done
         */
        public function doListen() {
-               $this->partialStub('Need to implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method.');
        }
 
 }
index 901512d99d1fbb7e8399c658cc985c965864f37c..c3e6cc70fd2ff8743d04957477c0512bcc596371 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Listener\Listenable;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A decorator for the UdpListener to communicate to peers
@@ -71,7 +72,7 @@ class ClientUdpListenerDecorator extends BaseListenerDecorator implements Listen
         * @return      void
         */
        public function initListener () {
-               $this->partialStub('WARNING: This method should not be called.');
+               DebugMiddleware::getSelfInstance()->partialStub('WARNING: This method should not be called.');
        }
 
        /**
@@ -87,7 +88,7 @@ class ClientUdpListenerDecorator extends BaseListenerDecorator implements Listen
                $this->getListenerInstance()->doListen();
 
                // Handle this peer UDP package
-               $this->partialStub('Need to handle peer UDP package.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to handle peer UDP package.');
        }
 
        /**
index a21120572a80c9c1822b696627c8e3852862b890..20fe13812ab8ada652cf6d2285b7b7997e89bb3c 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Listener\Listenable;
 use Org\Shipsimu\Hub\Network\Package\DeliverablePackage;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A decorator for the UdpListener to communicate to hubs
@@ -71,7 +72,7 @@ class HubUdpListenerDecorator extends BaseListenerDecorator implements Listenabl
         * @return      void
         */
        public function initListener () {
-               $this->partialStub('WARNING: This method should not be called.');
+               DebugMiddleware::getSelfInstance()->partialStub('WARNING: This method should not be called.');
        }
 
        /**
@@ -87,7 +88,7 @@ class HubUdpListenerDecorator extends BaseListenerDecorator implements Listenabl
                $this->getListenerInstance()->doListen();
 
                // Handle hub UDP package
-               $this->partialStub('Need to handle hub UDP package.');
+               DebugMiddleware::getSelfInstance()->partialStub('Need to handle hub UDP package.');
        }
 
        /**
index 85843b53cd4a9214a310b72f8f7f0ba9ca9182cf..e9822e5d47cbe31aae0666b812ff597a4461bea3 100644 (file)
@@ -9,6 +9,7 @@ use Org\Shipsimu\Hub\Helper\Miner\MinerHelper;
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Controller\Controller;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
 
@@ -109,7 +110,7 @@ class HubCoinMiner extends BaseHubMiner implements MinerHelper, Registerable {
                }
 
                // @TODO Implement this method
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -121,7 +122,7 @@ class HubCoinMiner extends BaseHubMiner implements MinerHelper, Registerable {
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -152,7 +153,7 @@ class HubCoinMiner extends BaseHubMiner implements MinerHelper, Registerable {
         */
        public function addExtraFilters (Controller $controllerInstance, Responseable $responseInstance) {
                // Add some filters here
-               $this->partialStub('Please add some miner-specific filters, if required.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some miner-specific filters, if required.');
        }
 
 }
index fefd6cc99a48e3b06a08c964b00669e6da1c2a55..b8f8c086f80893c3136d00cbb9dac1d8322e3431 100644 (file)
@@ -5,6 +5,9 @@ namespace Org\Shipsimu\Hub\Miner;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A hub-miner class for the '???' mode
  *
@@ -65,7 +68,7 @@ class Hub???Miner extends BaseHubMiner implements MinerHelper, Registerable {
        public function doBootstrapping () {
                // Call generic (parent) bootstrapping method first
                parent::doGenericBootstrapping();
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -75,7 +78,7 @@ class Hub???Miner extends BaseHubMiner implements MinerHelper, Registerable {
         * @return      void
         */
        public function outputConsoleTeaser () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index a7ed445620b6cbfbdafe420dd9d2878729338786..64a349fe480a533ff95752af7ab9d40464533e5e 100644 (file)
@@ -11,6 +11,7 @@ use Org\Shipsimu\Hub\Producer\Block\BlockProducer;
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Database\Updateable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Traits\State\StateableTrait;
@@ -233,7 +234,7 @@ abstract class BaseHubMiner extends BaseHubSystem implements Updateable {
         */
        public function updateDatabaseField (string $fieldName, $fieldValue) {
                // Unfinished
-               $this->partialStub('Unfinished!');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished!');
                return;
        }
 
index 5faa77299e2adb93486ead9bf72f55e3ae5f205f..b0c783306cccef304f37bc1735429d4d4d12d5b6 100644 (file)
@@ -11,6 +11,7 @@ use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
@@ -108,7 +109,7 @@ class HubBootNode extends BaseHubNode implements Node, Registerable {
                $this->enableAcceptingAnnouncements();
 
                // This might not be all...
-               $this->partialStub('Please implement more bootsrapping steps.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement more bootsrapping steps.');
        }
 
        /**
@@ -124,7 +125,7 @@ class HubBootNode extends BaseHubNode implements Node, Registerable {
                $controllerInstance = $applicationInstance->getControllerInstance();
 
                // @TODO Add some filters here
-               $this->partialStub('Add some filters here.');
+               DebugMiddleware::getSelfInstance()->partialStub('Add some filters here.');
        }
 
        /**
index f724ece37b24b8a629b52d2a06fcd1e2024d60f5..9b64f6176c0effa8f9b318844b9979e41bf08fd3 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Node\BaseHubNode;
 use Org\Shipsimu\Hub\Node\Node;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -66,7 +67,7 @@ class Hub???Node extends BaseHubNode implements Node, Registerable {
        public function doBootstrapping () {
                // Call generic (parent) bootstrapping method first
                parent::doGenericBootstrapping();
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -76,7 +77,7 @@ class Hub???Node extends BaseHubNode implements Node, Registerable {
         * @todo        Implement this method
         */
        public function initQueues () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -96,7 +97,7 @@ class Hub???Node extends BaseHubNode implements Node, Registerable {
         * @todo        0% done
         */
        public function addExtraTasks (HandleableTask $handlerInstance) {
-               $this->partialStub('Please add some tasks or empty this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some tasks or empty this method.');
        }
 }
 
index fcb108d5ead21559bc5cb9f0ba2d5c529ff21b0e..fa4aaf9f8c4f4fb5e78e86de16fe9f95e95e511a 100644 (file)
@@ -29,6 +29,7 @@ use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Request\Requestable;
 use Org\Mxchange\CoreFramework\Response\Responseable;
@@ -524,7 +525,7 @@ abstract class BaseHubNode extends BaseHubSystem implements Updateable, AddableC
         */
        public function updateDatabaseField ($fieldName, $fieldValue) {
                // Unfinished
-               $this->partialStub('Unfinished!');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished!');
                return;
 
                // Get a critieria instance
index 2f3eea0438cd16f24dc7df6f0cc9e0c4a570c7b6..cff6f9a2ca70658a35ee7da7d04c571196b037d8 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Node\Node;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
@@ -69,7 +70,7 @@ class HubListNode extends BaseHubNode implements Node, Registerable {
         * @todo        Implement more bootstrap steps
         */
        public function doBootstrapping () {
-               $this->partialStub();
+               DebugMiddleware::getSelfInstance()->partialStub();
        }
 
        /**
@@ -88,7 +89,7 @@ class HubListNode extends BaseHubNode implements Node, Registerable {
                $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter_class'));
 
                // @TODO Add some filters here
-               $this->partialStub('Add some filters here.');
+               DebugMiddleware::getSelfInstance()->partialStub('Add some filters here.');
        }
 
        /**
@@ -99,7 +100,7 @@ class HubListNode extends BaseHubNode implements Node, Registerable {
         * @todo        0% done
         */
        public function addExtraTasks (HandleableTask $handlerInstance) {
-               $this->partialStub('Please add some tasks or empty this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some tasks or empty this method.');
        }
 
 }
index f382f99ff7b7ca1d8db8a21cc7de897ebac1d52a..e2a8a8e8d4ee65ef2386a642d7d3442fd048e021 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Node\Node;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
@@ -72,7 +73,7 @@ class HubMasterNode extends BaseHubNode implements Node, Registerable {
                $this->enableAcceptingAnnouncements();
 
                // Do more steps
-               $this->partialStub('Please implement more boot-strapping steps!');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement more boot-strapping steps!');
        }
 
        /**
@@ -91,7 +92,7 @@ class HubMasterNode extends BaseHubNode implements Node, Registerable {
                $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter_class'));
 
                // @TODO Add some filters here
-               $this->partialStub('Add some filters here.');
+               DebugMiddleware::getSelfInstance()->partialStub('Add some filters here.');
        }
 
        /**
@@ -102,7 +103,7 @@ class HubMasterNode extends BaseHubNode implements Node, Registerable {
         * @todo        0% done
         */
        public function addExtraTasks (HandleableTask $handlerInstance) {
-               $this->partialStub('Please add some tasks or empty this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some tasks or empty this method.');
        }
 
 }
index 6c0598422a814364c9ea8abe0cf3f4ee43d7dfb9..6aed54450512f1dc2a43d380416e33d64f2ff7e9 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Node\Node;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Handler\Task\HandleableTask;
 use Org\Mxchange\CoreFramework\Helper\Application\ApplicationHelper;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
@@ -69,7 +70,7 @@ class HubRegularNode extends BaseHubNode implements Node, Registerable {
         * @todo        Implement this method
         */
        public function doBootstrapping () {
-               $this->partialStub();
+               DebugMiddleware::getSelfInstance()->partialStub();
        }
 
        /**
@@ -88,7 +89,7 @@ class HubRegularNode extends BaseHubNode implements Node, Registerable {
                $controllerInstance->addActivationFilter(ObjectFactory::createObjectByConfiguredName('node_activation_announcement_task_filter_class'));
 
                // @TODO Add some filters here
-               $this->partialStub('Add some filters here.');
+               DebugMiddleware::getSelfInstance()->partialStub('Add some filters here.');
        }
 
        /**
@@ -99,7 +100,7 @@ class HubRegularNode extends BaseHubNode implements Node, Registerable {
         * @todo        0% done
         */
        public function addExtraTasks (HandleableTask $handlerInstance) {
-               $this->partialStub('Please add some tasks or empty this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please add some tasks or empty this method.');
        }
 
 }
index 2746aad05e6bf5740072c9e8e1fb23ce61366d97..27c4cdbad423c08178ec28d94a4828e8db9d78e5 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Pool\BasePool;
 use Org\Shipsimu\Hub\Pool\Poolable;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * 
@@ -67,9 +68,6 @@ class ???Pool extends BasePool implements Poolable {
         * @todo        0% done
         */
        public function addListener (Listenable $poolInstance) {
-               $this->partialStub('Need to implement this method. listenerInstance=' . $poolInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('Need to implement this method. listenerInstance=' . $poolInstance->__toString());
        }
 }
-
-//
-?>
index cd98969ef763c1fed1ea513b3869368e5551fd47..c5000c8d78de23d64a56430ced614171d783a1e6 100644 (file)
@@ -9,6 +9,7 @@ use Org\Shipsimu\Hub\Traits\Listener\ListenableTrait;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
 use Org\Mxchange\CoreFramework\Visitor\Visitor;
@@ -166,7 +167,7 @@ abstract class BasePool extends BaseHubSystem implements Poolable, Visitable {
                        $poolEntry->accept($visitorInstance);
                } else {
                        // Cannot visit this entry
-                       $this->partialStub('Pool entry with key ' . $iteratorInstance->key() . ' has improper type ' . gettype($poolEntry) . ', reason: not implementing Visitable.');
+                       DebugMiddleware::getSelfInstance()->partialStub('Pool entry with key ' . $iteratorInstance->key() . ' has improper type ' . gettype($poolEntry) . ', reason: not implementing Visitable.');
                }
 
                // Advance to next entry
index 85bf386c947932293dbf8c13df9e891537aadf2d..4515ee5dfd16edc52b9539240db8aff7c55a0ff9 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? producer class
  *
@@ -51,9 +54,6 @@ class ???Producer extends BaseProducer implements Producer, Registerable {
         * @return      void
         */
        protected function initProducer () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index f18c21c7ed21c755798743d1c8fe76f101a8168e..ca177726eefc69e7119a62bda015b12f25dc6998 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Producer\Key\KeyProducer;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
@@ -74,7 +75,7 @@ class CruncherKeyProducer extends BaseKeyProducer implements KeyProducer, Regist
         * @todo        Find something for init phase of this key producer
         */
        protected function initProducer () {
-               $this->partialStub('Maybe add something here?');
+               DebugMiddleware::getSelfInstance()->partialStub('Maybe add something here?');
        }
 
        /**
@@ -84,7 +85,7 @@ class CruncherKeyProducer extends BaseKeyProducer implements KeyProducer, Regist
         * @todo        0% done
         */
        public function initExecutor (Stateable $stateInstance) {
-               $this->partialStub('Maybe implement this method?');
+               DebugMiddleware::getSelfInstance()->partialStub('Maybe implement this method?');
        }
 
        /**
index 28fe961b545dcf8c4cfc07097c7df143a5d472db..6c061ed647db994c0c93c8ca58c573ef97d2ab53 100644 (file)
@@ -10,6 +10,7 @@ use Org\Shipsimu\Hub\Producer\Unit\UnitProducer;
 use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
@@ -126,6 +127,6 @@ class CruncherTestUnitProducer extends BaseUnitProducer implements UnitProducer,
         * @todo        Maybe unfinished
         */
        public function initExecutor (Stateable $stateInstance) {
-               $this->partialStub('Maybe implement this method?');
+               DebugMiddleware::getSelfInstance()->partialStub('Maybe implement this method?');
        }
 }
index 27d8fff271b808ee2b8ebc888fdc9538842e5b67..1c8124e1e4930b35beb4f3ff28a4e6adb44e9bba 100644 (file)
@@ -72,7 +72,7 @@ class MinerRealGenesisBlockProducer extends BaseBlockProducer implements BlockPr
         * @todo        0% done
         */
        protected function initProducer () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -82,7 +82,7 @@ class MinerRealGenesisBlockProducer extends BaseBlockProducer implements BlockPr
         * @todo        0% done
         */
        public function initExecutor (Stateable $stateInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 5d033ed35d31a0285f4880d764c70fc77a366a01..051ae952becdc93047778108cbf0f9b3afa39f06 100644 (file)
@@ -9,6 +9,7 @@ use Org\Shipsimu\Hub\Producer\Miner\Block\BaseBlockProducer;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
@@ -72,7 +73,7 @@ class MinerTestGenesisBlockProducer extends BaseBlockProducer implements BlockPr
         * @todo        0% done
         */
        protected function initProducer () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
@@ -82,7 +83,7 @@ class MinerTestGenesisBlockProducer extends BaseBlockProducer implements BlockPr
         * @todo        0% done
         */
        public function initExecutor (Stateable $stateInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 4c67d17e89a8c3b78a04e3547ededb9e013913d1..424a3204485b514e5fe2997476ac7cad503c6bf1 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Network\Recipient\BaseRecipient;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Lists\Listable;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A ??? recipient
@@ -68,7 +69,7 @@ class ???Recipient extends BaseRecipient implements Recipient {
                // Make sure the recipient is valid
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('!!!-RECIPIENT: recipient=' . $recipient);
                assert($recipient == '|||');
-               $this->partialStub('Please implement this method. recipient=' . $recipient);
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method. recipient=' . $recipient);
        }
 
 }
index 6c5b88c80a75c69c45648defbdf35f0112809630..6baa7286416426ab8ccbe7529ffdecb97b63efd5 100644 (file)
@@ -9,6 +9,7 @@ use Org\Shipsimu\Hub\Resolver\Protocol\ProtocolResolver;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 
 /**
  * A !!! protocol resolver class
@@ -65,7 +66,7 @@ class !!!ProtocolResolver extends BaseProtocolResolver implements ProtocolResolv
         * @todo        0% done
         */
        public function resolveUniversalNodeLocatorFromNode (Node $nodeInstance) {
-               $this->partialStub('Please implement this method. nodeInstance=' . $nodeInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method. nodeInstance=' . $nodeInstance->__toString());
        }
 
        /**
index 493bca67dc05f92d6010d7f7b907c6d49ef927ac..111f698856a4d53c65f45c2a910d7d9d126b103d 100644 (file)
@@ -1,4 +1,7 @@
 <?php
+// Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
+
 /**
  * A ??? URL source class for crawlers
  *
@@ -61,9 +64,6 @@ class Crawler???UrlSource extends BaseUrlSource implements UrlSource, Registerab
                        return;
                } // END - if
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 }
-
-// [EOF]
-?>
index 5c5e68e1bbe7ddc3b092c065201ecea6ac74cd53..f0eb590a70e0807705185e736ae73b7adf58f5e3 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\Source\Url\BaseUrlSource;
 use Org\Shipsimu\Hub\Crawler\Source\Url\UrlSource;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -65,7 +66,7 @@ class CrawlerFoundRssUrlSource extends BaseUrlSource implements UrlSource, Regis
         * @todo        0% done
         */
        public function fillUrlStack () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 6d04c378c48fa3edc3197576e49333cf302c944c..e6e58b3b59e527746c13d2d990eae7291aa9ccd0 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\Source\Url\BaseUrlSource;
 use Org\Shipsimu\Hub\Crawler\Source\Url\UrlSource;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -65,7 +66,7 @@ class CrawlerLocalStartUrlSource extends BaseUrlSource implements UrlSource, Reg
         * @todo        0% done
         */
        public function fillUrlStack () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 1a129721a7f4e3cc44b765f7db78dfffdd8ac51c..213ca0349d78d5781bacdc310e37defc53371289 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\Source\Url\BaseUrlSource;
 use Org\Shipsimu\Hub\Crawler\Source\Url\UrlSource;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 /**
@@ -65,7 +66,7 @@ class CrawlerRssStartUrlSource extends BaseUrlSource implements UrlSource, Regis
         * @todo        0% done
         */
        public function fillUrlStack () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index ce3a18f5893bf3b5fb5cb3f5d0b1a92ba38ea03a..2171af371a8c8fe254d82647ff15d5d597b5039d 100644 (file)
@@ -11,6 +11,7 @@ use Org\Mxchange\CoreFramework\Bootstrap\FrameworkBootstrap;
 use Org\Mxchange\CoreFramework\Factory\Object\ObjectFactory;
 use Org\Mxchange\CoreFramework\Filesystem\FrameworkDirectory;
 use Org\Mxchange\CoreFramework\Generic\NullPointerException;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 
 // Import SPL stuff
@@ -395,7 +396,7 @@ class CrawlerUploadedListUrlSource extends BaseUrlSource implements UrlSource, R
                        $this->addCsvFile();
                }
 
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
 
                // Trace message
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('CRAWLER-UPLOADED-LIST-URL-SOURCE: EXIT!');
index 92862e0cfab6407bd95c115c8178b7bd6c93b997..8a05a4513c20533a86b03ef4c338eb30222cc3b6 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\State\BaseCrawlerState;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Executor\Executor;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
 /**
@@ -67,6 +68,6 @@ class CrawlerActiveState extends BaseCrawlerState implements Stateable {
         * @todo        0% done
         */
        public function executeState (Executor $executorInstance) {
-               $this->partialStub('Unfinished method, executorInstance=' . $executorInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method, executorInstance=' . $executorInstance->__toString());
        }
 }
index ffb733e306dc0c84de5437fbda5880a9ce52648f..4043f7861212d6cabbf245f043c04572c45d8eb8 100644 (file)
@@ -7,7 +7,7 @@
         */
        public function communicatorHasInitialized () {
                // Please implement
-               $this->partialStub('Unfinished method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method.');
 
                // Change state to 'active'
                CrawlerStateFactory::createCrawlerStateInstanceByName('active');
index 12e8a3eae1dd6eb757982dedd2908ba4ef3b36cb..59a15acd9e659c9005a488111d4c665cd1095c66 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Crawler\State\BaseCrawlerState;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Executor\Executor;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
 /**
@@ -66,6 +67,6 @@ class CrawlerBootingState extends BaseCrawlerState implements Stateable {
         * @todo        0% done
         */
        public function executeState (Executor $executorInstance) {
-               $this->partialStub('Unfinished method, executorInstance=' . $executorInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method, executorInstance=' . $executorInstance->__toString());
        }
 }
index 8442ca7ef9dc4a8dcb1df8aecfac2d10196162e0..6aeae143d6b2dfee620971073edbeabb59fbc50a 100644 (file)
@@ -8,6 +8,7 @@ use Org\Shipsimu\Hub\Crawler\Factory\State\CrawlerStateFactory;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Executor\Executor;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
 /**
@@ -78,7 +79,7 @@ class CrawlerInitState extends BaseCrawlerState implements Stateable {
         */
        public function communicatorHasInitialized () {
                // Please implement
-               $this->partialStub('Unfinished method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unfinished method.');
 
                // Change state to 'booting'
                CrawlerStateFactory::createCrawlerStateInstanceByName('booting');
index 9ad9e76cfc956694d6ea22399d83d9422c123dea..cd704a59317147c3dd66aaec6a59467eae2b5d5d 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\State\Cruncher\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Executor\Executor;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
 /**
@@ -69,7 +70,7 @@ class Cruncher???State extends BaseCruncherState implements Stateable {
         * @return      void
         */
        public function executeState (Executor $executorInstance) {
-               $this->partialStub('This state needs implementation. executorInstance=' . $executorInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('This state needs implementation. executorInstance=' . $executorInstance->__toString());
        }
 
 }
index f4d29cf8c4089f1515b87ff286c320e5c22709c4..d5d59bb8102765072748eb8b7db03c2e7bcf8dc8 100644 (file)
@@ -4,6 +4,7 @@ namespace Org\Shipsimu\Hub\State\Miner\;
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Executor\Executor;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\State\Stateable;
 
 /**
@@ -69,7 +70,7 @@ class Miner???State extends BaseMinerState implements Stateable {
         * @return      void
         */
        public function executeState (Executor $executorInstance) {
-               $this->partialStub('This state needs implementation. executorInstance=' . $executorInstance->__toString());
+               DebugMiddleware::getSelfInstance()->partialStub('This state needs implementation. executorInstance=' . $executorInstance->__toString());
        }
 
 }
index 014b4241014fbb34f91886fd8634cbe6098279bd..1518714f5e33058bcbeca659196b0c13785e13f3 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\AptProxy\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class AptProxy???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 30566a06b3c9ec079f1700feaa22225f3600e783..d20f03a878bda7faee37e7a364c2c2e400697f00 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\AptProxy\Task\Listener;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -75,7 +76,7 @@ class AptProxyListenerTask extends BaseHubTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index f5eb4db72518dd17e12b3676c4cf19559d385e74..a6bca41ba73a711c73d3be5f5fa0cdee0fd9d483 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\Chat\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class Chat???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 039244077d5e93f4c47e84e6bf1f1d1d3aee7163..ae7d7649b748dc5e3ab46dc2db44b215ebf5df4b 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Chat\Task\Listener\Telnet;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -75,7 +76,7 @@ class ChatTelnetListenerTask extends BaseHubTask implements Taskable, Visitable
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 044f998dcf3226bb6fbc6a14a309b97833ce347b..3932c9aa3b1a397cf993a9003e5c518c569157a4 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\Crawler\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class Crawler???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index c3a2fec7e209a95b484cafab005e679119edcb0e..be7fa59c7a1ef02e0baf9ab96b6f574fe5c32383 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Parser\Document;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerDocumentParserTask extends BaseHubTask implements Taskable, Visitab
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 2bd933ca87d5a135ac3825a115ed9bad29408892..3de0b9c9b5f371f314aa93f1fc2350fd30d6d386 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Sniffer\Mime;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerMimeSnifferTask extends BaseHubTask implements Taskable, Visitable
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 70dc0a108c2ce3019251d316b35ff5e701a8fd04..fb47e34f74df67ac6d00ccb4c03e4af63845da62 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Ping;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerPingTask extends BaseHubTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 99aad555bcfa5ffd044300ecb3061add80dded8a..386a72d8b2f4d9a77bf077ae3965b851d6d7c4ec 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Publisher\Job\Remote;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerRemoteJobPublisherTask extends BaseHubTask implements Taskable, Vis
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 4bdc019dbe363946393ea257f1442df3478b59ae..dd3891d4c6cc9b2ec98613a667d2f7e547ff2f6a 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\SnippetExtractor;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerSnippetExtractorTask extends BaseHubTask implements Taskable, Visit
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 6ef5b9c85c7b0042a0d263e42aa090824b614602..95f8f1b2193e71525e2d6625d14f54cf0dbba2f8 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Analyzer\DocumentStructure;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerStructureAnalyzerTask extends BaseHubTask implements Taskable, Visi
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 5b3c1991b6d6cb29f472af07579c7f2571e58bd6..2ba83d6ba246a554d9ac2cb0186e2ee602230411 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Crawler\Local;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerLocalUrlCrawlerTask extends BaseHubTask implements Taskable, Visita
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index f14df81c8cc4515f0fbc03adc66b038766c7b678..50f87d1ee46f5bf86c4c754625114c8e14db5bae 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Crawler\Task\Crawler\Remote;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -76,7 +77,7 @@ class CrawlerRemoteUrlCrawlerTask extends BaseHubTask implements Taskable, Visit
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 80cce98883d6110cab428e4693c19ce981e11ddf..d1a5ecec57304c2d065f2f0a79f36c9bb70ffdff 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\Cruncher\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class Cruncher???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 8f54fc36967b2b285f0535542332e13cabd60238..1ddb62ec913f7ebb10b9914cb8bfa8cf6d99f6fe 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\Miner\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class Miner???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 8224d1996375e6c558bdf91479f80d50d0dcb4de..95bdf70bb38fb2c578060b49e04678dddfd61001 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\AptProxy\Task\Network\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class NetworkPackage???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0%
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 1b3cbb7b8270236bded04ebb7802bdafcfe30b22..4ced91d7c4fd9236c3980840cc59320a1b620920 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Node\Task\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class Node???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0% done
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 1f263ab46a19cea26ba6ef629f33a5743eb16e09..a41a876f47a5581dcf9f2b2deeef77c645988362 100644 (file)
@@ -3,6 +3,7 @@
 namespace Org\Shipsimu\Hub\Task\Node\Dht\;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -73,7 +74,7 @@ class NodeDht???Task extends BaseTask implements Taskable, Visitable {
         * @todo        0% done
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 4dddff667d3922d55a0297a84cd0e251e8c97a3d..d5e2dc5a4151363e83d0efd3898cae8d4a0f7f4a 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -87,7 +88,7 @@ class NodeSocketListenerTask extends BaseHubTask implements Taskable, Visitable
         * @todo        0% done
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index e553643b20b6148aa645eb985c32e83af07914f8..94e0e029f911b27c0ad4fe22a82bfde1b7971edd 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Factory\Node\NodeObjectFactory;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Traits\Lists\ListableTrait;
@@ -90,7 +91,7 @@ class NodePingTask extends BaseHubTask implements Taskable, Visitable {
         * @todo        0% done
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index e141abe967e3b3b5c8a2c5fc7c406a217ec0fc35..001a61d192a6f2da73cd670277624c5e7c1da56e 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Node\Check\Update;
 use Org\Shipsimu\Hub\Task\BaseHubTask;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Task\BaseTask;
 use Org\Mxchange\CoreFramework\Task\Taskable;
 use Org\Mxchange\CoreFramework\Visitor\Visitable;
@@ -75,7 +76,7 @@ class NodeUpdateCheckTask extends BaseHubTask implements Taskable, Visitable {
         * @return      void
         */
        public function executeTask () {
-               $this->partialStub('Unimplemented task.');
+               DebugMiddleware::getSelfInstance()->partialStub('Unimplemented task.');
        }
 
        /**
index 0e2fd863062632171a3c4f294e78565ad05e0eed..9e2fe7f72894cdcd17ae43efde68e65e5f21fec0 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Announcement;
 // Import application-specific stuff
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
@@ -120,7 +121,7 @@ class XmlAnnouncementTemplateEngine extends BaseXmlTemplateEngine implements Com
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getMenuCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index a77cfb2ead16459b8131c9eec39f109c39b6330e..61501b01338e14938fa49921611966371ae6d0d5 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Answer\Announcement;
 use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 
@@ -128,7 +129,7 @@ class XmlAnnouncementAnswerTemplateEngine extends BaseXmlAnswerTemplateEngine im
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getAnnouncementAnswerCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 078fa56eae3cfff2bd47014daf093519a224e2ab..e987602c69e551b9bcd64999f237285776481c49 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\;
 use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 
@@ -92,7 +93,7 @@ class Xml???AnswerTemplateEngine extends BaseXmlAnswerTemplateEngine implements
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function get???CacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 438dae5df6eaec5f8d6344b9b2de16a32f40f3e4..dec5773a6663d7cefefe6c0a8d71080e6b3292ed 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Template\Engine\Xml\Answer\Dht\Bootstrap\XmlDhtBootstrapAns
 use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 
@@ -127,7 +128,7 @@ class XmlDhtBootstrapAnswerTemplateEngine extends BaseXmlAnswerTemplateEngine im
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getDhtBootstrapAnswerCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 10e3d98254bddad505012f6d834ce4078f9fd2a0..e8638f11d2aa8d55582be77b03b6bf02f2431a9e 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEng
 
 // Import framework stuff
 use Org\Mxchange\CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 use Org\Mxchange\CoreFramework\Traits\Template\CompileableTemplateTrait;
@@ -119,7 +120,7 @@ class XmlRequestNodeListAnswerTemplateEngine extends BaseXmlAnswerTemplateEngine
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getRequestNodeListAnswerCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 234b498d255dd61e1cdb097dc1c34d608a6fb5d2..e6c319e63e0eba2ee804e01bb392338d54b4a5ad 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\;
 use Org\Shipsimu\Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 
@@ -92,7 +93,7 @@ class Xml???TemplateEngine extends BaseXmlTemplateEngine implements CompileableX
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function get???CacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 3594e31eefddad3be4cc891563e3dfed1c6d9fef..56ae6be5899651e22188342fcd6ca9b37f44a827 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\SelfConnect;
 use Org\Shipsimu\Hub\Tag\Tagable;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
@@ -110,7 +111,7 @@ class XmlSelfConnectTemplateEngine extends BaseXmlTemplateEngine implements Comp
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getMenuCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 99072e6646b977b42cce6bc03f76fcb949a2c997..896a27b003465b0ea0e49e804430750e19f23d13 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Dht\Bootstrap;
 // Import application-specific stuff
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
@@ -124,7 +125,7 @@ class XmlDhtBootstrapTemplateEngine extends BaseXmlTemplateEngine implements Com
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getMenuCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index b1a324ae1f25b8d2097a497ab840dae262cda0b5..59d0e9ed63ad710f54d3e50167149d53a1c3a874 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Dht\Publish;
 // Import application-specific stuff
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
@@ -120,7 +121,7 @@ class XmlDhtPublishEntryTemplateEngine extends BaseXmlTemplateEngine implements
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getMenuCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 42be1fdf47c76a9911607a8e85ffa36f3060d8ee..f6f13fc2bb82d2ee540285f8ff6db12e1d234393 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Request\NodeList;
 // Import application-specific stuff
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
@@ -93,7 +94,7 @@ class XmlRequestNodeListEntryTemplateEngine extends BaseXmlTemplateEngine implem
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getRequestNodeListEntryCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 87524b43bb082c29cbec4efb9fdd81494bc80d84..b8bd65388268c6c92c21000944743cc1f4d7f90d 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\ObjectRegistry;
 use Org\Shipsimu\Hub\Factory\Registry\Object\ObjectTypeRegistryFactory;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\GenericRegistry;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
@@ -132,7 +133,7 @@ class XmlObjectRegistryTemplateEngine extends BaseXmlTemplateEngine implements C
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getObjectRegistryCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 283a6b5270d5234bd96e463746445a677ac1038e..a908255382a7e03cb53049dec5a532f8d35781f1 100644 (file)
@@ -5,6 +5,7 @@ namespace Org\Shipsimu\Hub\Cruncher\Template\Engine\Xml\TestUnit;
 // Import application-specific stuff
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
@@ -109,7 +110,7 @@ class XmlCruncherTestUnitTemplateEngine extends BaseXmlTemplateEngine implements
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getCruncherTestUnitCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index 29c2dd9bedda70dc0918e9af8d05d3eab9721159..1643447729c95f352f1706fb91179a6327577d36 100644 (file)
@@ -6,6 +6,7 @@ namespace Org\Shipsimu\Hub\Template\Engine\Xml\Request\NodeList;
 use Org\Shipsimu\Hub\Template\Engine\Xml\Request\NodeList\XmlRequestNodeListTemplateEngine;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Registry\Registerable;
 use Org\Mxchange\CoreFramework\Template\Engine\Xml\BaseXmlTemplateEngine;
 use Org\Mxchange\CoreFramework\Template\Xml\CompileableXmlTemplate;
@@ -104,7 +105,7 @@ class XmlRequestNodeListTemplateEngine extends BaseXmlTemplateEngine implements
         * @return      $fqfn   Full-qualified file name of the menu cache
         */
        public function getRequestNodeListCacheFqfn () {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
        /**
index e5f47bc72e98c26afc4bb11e4ec16be43b60ac49..663575b13d26d0ced2d97a087cfa05bd9eecab1a 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Pool\Poolable;
 use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
 use Org\Mxchange\CoreFramework\Visitor\Visitor;
 
@@ -67,9 +68,7 @@ class ???Visitor extends BaseVisitor implements PoolVisitor {
         * @todo        0%
         */
        public function visitPool (Poolable $poolInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
-}
 
-// [EOF]
-?>
+}
index 73aaabb254d779ca6b8728e24a062560462c97b7..0732ca65f5bf3477ebec80ba1cc7cd76febae2fb 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Pool\Poolable;
 use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
 
 /**
@@ -66,7 +67,7 @@ class Handler???Visitor extends BaseVisitor implements PoolVisitor {
         * @todo        0%
         */
        public function visitPool (Poolable $poolInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
 
 }
index 13f7fdb8e64d782151affc14996a52c88664f144..25a2a3fea3b681a3e6a7afe2ec6bde1872d3c5b1 100644 (file)
@@ -7,6 +7,7 @@ use Org\Shipsimu\Hub\Pool\Poolable;
 use Org\Shipsimu\Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
+use Org\Mxchange\CoreFramework\Middleware\Debug\DebugMiddleware;
 use Org\Mxchange\CoreFramework\Visitor\BaseVisitor;
 
 /**
@@ -66,9 +67,7 @@ class Shutdown???Visitor extends BaseVisitor implements PoolVisitor {
         * @todo        0%
         */
        public function visitPool (Poolable $poolInstance) {
-               $this->partialStub('Please implement this method.');
+               DebugMiddleware::getSelfInstance()->partialStub('Please implement this method.');
        }
-}
 
-// [EOF]
-?>
+}