]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2017 19:25:26 +0000 (21:25 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:08 +0000 (18:50 +0200)
- added namespaces to configuration entries
- imported HelpableDht
- imported XmlDhtBootstrapTemplateEngine
- imported NetworkPackageFactory
- imported Compressor
- imported PoolVisitor

Signed-off-by: Roland Häder <roland@mxchange.org>
33 files changed:
application/hub/classes/compressor/decorator/class_NetworkPackageCompressorDecorator.php
application/hub/classes/decoder/package/class_PackageDecoder.php
application/hub/classes/dht/class_BaseDht.php
application/hub/classes/factories/package/class_NetworkPackageFactory.php
application/hub/classes/filter/tags/class_PackageDhtBootstrapTagFilter.php
application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php
application/hub/classes/handler/message-types/dht/class_NodeMessageDhtBootstrapHandler.php
application/hub/classes/helper/class_
application/hub/classes/helper/connection/class_BaseConnectionHelper.php
application/hub/classes/helper/dht/class_DhtBootstrapHelper.php
application/hub/classes/helper/dht/class_DhtPublishEntryHelper.php
application/hub/classes/helper/node/announcement/class_NodeAnnouncementHelper.php
application/hub/classes/helper/node/answer/announcement/class_NodeAnnouncementMessageAnswerHelper.php
application/hub/classes/helper/node/answer/dht/class_NodeDhtBootstrapMessageAnswerHelper.php
application/hub/classes/helper/node/answer/requests/class_NodeRequestNodeListMessageAnswerHelper.php
application/hub/classes/helper/node/class_
application/hub/classes/helper/node/connection/class_NodeSelfConnectHelper.php
application/hub/classes/helper/node/requests/class_NodeRequestNodeListHelper.php
application/hub/classes/listener/class_BaseListenerDecorator.php
application/hub/classes/package/class_NetworkPackage.php
application/hub/classes/tasks/network/class_NetworkPackageReaderTask.php
application/hub/classes/tasks/network/class_NetworkPackageWriterTask.php
application/hub/classes/visitor/pool/class_
application/hub/classes/visitor/pool/handler/class_Handler
application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php
application/hub/classes/visitor/pool/shutdown/class_Shutdown
application/hub/classes/visitor/pool/shutdown/class_ShutdownListenerPoolVisitor.php
application/hub/classes/visitor/socket/class_HalfShutdownSocketVisitor.php
application/hub/classes/visitor/socket/class_ShutdownSocketVisitor.php
application/hub/config.php
application/hub/exceptions/dht/class_DhtBootstrapNotAcceptedException.php
application/hub/interfaces/package/assembler/class_Assembler.php
application/hub/interfaces/visitor/pool/listener/class_ListenerPoolVisitor.php

index be047df9017cb5e21b8cf8c3607f0d4097f9a85e..a382772b8b515b60108ea4476dcb6119ef31c42b 100644 (file)
@@ -1,10 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Network\Package;
+namespace Hub\Network\Compressor\Package;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
 
+// Import framework-specific stuff
+use CoreFramework\Compressor\Compressor;
+
 /**
  * A NetworkPackageCompressor decorator class. This decorator can later be
  * easily extended without changing any other code.
index 99cc7db330b22aa9f1f8a459c34a1d1e121b5b2a..3079a1a75a124d18c824682e2b22195c65698456 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Decoder;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Handler\Network\RawData\Chunks\ChunkHandler;
 use Hub\Network\Package\NetworkPackage;
 
@@ -163,7 +164,5 @@ class PackageDecoder extends BaseDecoder implements Decodeable, Registerable {
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('PACKAGE-DECODER: decodedData(' . count($decodedData) . ')=' . print_r($decodedData, TRUE));
                $this->getPackageInstance()->handleRawData($decodedData);
        }
-}
 
-// [EOF]
-?>
+}
index 4909bea6d5f6fba15bb2e47d976d6702ab0afb83..afa2061be12442c83d1caae279d57ed64c3b288d 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Dht;
 use Hub\Factory\State\Dht\DhtStateFactory;
 use Hub\Dht\Distributable;
 use Hub\Generic\BaseHubSystem;
+use Hub\Helper\Dht\HelpableDht;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
@@ -267,7 +268,5 @@ abstract class BaseDht extends BaseHubSystem implements Distributable {
                // Call method on database wrapper
                $this->getWrapperInstance()->enableAcceptDhtBootstrap();
        }
-}
 
-// [EOF]
-?>
+}
index 0268c1037b0a4fc766b86149b6d97f57233b1475..e72708f6c863f8fa56e9a74e287890725acdc8a6 100644 (file)
@@ -75,7 +75,5 @@ class NetworkPackageFactory extends ObjectFactory {
                // Return the instance
                return $packageInstance;
        }
-}
 
-// [EOF]
-?>
+}
index 6447265b48ae4d821e001af014acaf619891d9bf..ab421c71f798a60afe5d4104a771e466cb852874 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Filter\Tag\Network\Dht\Bootstrap;
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 33773915292c664a6dbee3ebf8d8836c784a680a..e47c57a422d18e00f1e977f44db87d0e0fc49372 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Handler\Answer\Node\DhtBootstrap;
 // Import application-specific stuff
 use Hub\Factory\Dht\DhtObjectFactory;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine;
 use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
@@ -59,6 +60,7 @@ class NodeMessageDhtBootstrapAnswerHandler extends BaseMessageHandler implements
                // Init message-data->configuration translation array
                $this->messageToConfig = array(
                /*
+                       @TODO Why commented out?
                        XmlDhtBootstrapTemplateEngine::DHT_BOOTSTRAP_DATA_EXTERNAL_ADDRESS => 'your_external_address',
                        XmlDhtBootstrapTemplateEngine::DHT_BOOTSTRAP_DATA_INTERNAL_ADDRESS => 'your_internal_address',
                        XmlDhtBootstrapTemplateEngine::DHT_BOOTSTRAP_DATA_SESSION_ID       => 'your_session_id'
index bcffb8394ee681ecd58567ecdc611c27d856db7f..dfaa234bc00e69039f53d4d78ebef68cffcc100b 100644 (file)
@@ -7,6 +7,7 @@ use Hub\Database\Frontend\Node\Dht\NodeDistributedHashTableDatabaseWrapper;
 use Hub\Factory\Dht\DhtObjectFactory;
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index 907ff5392d73d2a3e9a431297720d7f0a778cc6b..e015699a72056e1e59218b7a516585c1045e4d48 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Helper\;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\BaseHubSystemHelper;
 use Hub\Network\Package\NetworkPackage;
 
@@ -87,7 +88,5 @@ class !!!???Helper extends BaseHubSystemHelper implements Helpable!!! {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 7aa0ab59771ee3f9d02ad5b471849f8e1599b315..2c48fba82bffc82affa1f42df1bb80a703a4f880 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Helper\Connection;
 
 // Import application-specific stuff
 use Hub\Factory\Fragmenter\FragmenterFactory;
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\BaseHubSystemHelper;
 use Hub\Network\Package\NetworkPackage;
 
index 47adf97506d16d3b92855cd9920031bd12b88d89..afd3b8de5a3392ac55ef726c4e39ec65f784a01c 100644 (file)
@@ -4,8 +4,10 @@ namespace Hub\Helper\Dht\Bootstrap;
 
 // Import application-specific stuff
 use Hub\Dht\Distributable;
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Generic\BaseHubSystem;
 use Hub\Helper\BaseHubSystemHelper;
+use Hub\Helper\Dht\HelpableDht;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
@@ -116,7 +118,5 @@ class DhtBootstrapHelper extends BaseHubSystemHelper implements HelpableDht {
                // Debug message
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('HELPER: EXIT!');
        }
-}
 
-// [EOF]
-?>
+}
index c93667b52fa931eb99e9fcdf3b9bcbfa3e330aeb..bf1c13a37b583944ddd3437f8a8ce806e11e28d4 100644 (file)
@@ -4,8 +4,10 @@ namespace Hub\Helper\Dht\Publish;
 
 // Import application-specific stuff
 use Hub\Dht\Distributable;
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Generic\BaseHubSystem;
 use Hub\Helper\BaseHubSystemHelper;
+use Hub\Helper\Dht\HelpableDht;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
@@ -105,7 +107,5 @@ class DhtPublishEntryHelper extends BaseHubSystemHelper implements HelpableDht {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 630058a3f9ecb91d6c21f0d32746488a4b826907..1df415462bf87d942f25207653b545eab0d282d9 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\Announcement;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 
@@ -108,7 +109,5 @@ class NodeAnnouncementHelper extends BaseNodeHelper implements HelpableNode {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 522e8150f421f9bbbff59b3313a93f9755fdeece..0a879d50d85d3f32ceb786259ff5ac73ff62ae7e 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\Answer\Announcement;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 
 // Import framework stuff
@@ -107,7 +108,5 @@ class NodeAnnouncementMessageAnswerHelper extends BaseHubAnswerHelper implements
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 7883373ff0a02ea40bd535d54fc3abcb5ab602a1..c39146760eb6f0b199b1ab134442a8670b2ad7eb 100644 (file)
@@ -3,7 +3,9 @@
 namespace Hub\Node\Helper\Answer\Dht\Bootstrap;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
+use Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
@@ -107,7 +109,5 @@ class NodeDhtBootstrapMessageAnswerHelper extends BaseHubAnswerHelper implements
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 216b28faa894ff6761068ace77f5f81b8a1dcf34..16f662ec4303501e6148e9c8174c8d166882c24d 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\Answer\Request\NodeList;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 
 // Import framework stuff
@@ -113,7 +114,5 @@ class NodeRequestNodeListMessageAnswerHelper extends BaseHubAnswerHelper impleme
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 60602db13ed86c82389ec48324f5ba0f0f83928c..f00c3871a1ba8bc206109c4ac7b5845384e7d80c 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 
@@ -84,7 +85,5 @@ class Node???Helper extends BaseNodeHelper implements HelpableNode {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 83cb5c7baf4587c9e85750ab57848fa5480b7a4e..5ec6c8dca18414d7b9ee87f537524954b1024671 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\SelfConnect;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 use Hub\Tag\Tagable;
@@ -105,7 +106,5 @@ class NodeSelfConnectHelper extends BaseNodeHelper implements HelpableNode {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index 27a9f9e39835cf389769a0bd0f1cb804141b48d5..9d5880a7577865786ddd79a378c45c76ac8c8883 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Helper\Request\NodeList;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 
@@ -104,7 +105,5 @@ class NodeRequestNodeListHelper extends BaseNodeHelper implements HelpableNode {
                // Next, feed the content in. The network package class is a pipe-through class.
                $packageInstance->enqueueRawDataFromTemplate($this);
        }
-}
 
-// [EOF]
-?>
+}
index abd07df8314d0045bb9fb9750518edc90f610800..0d85641132186022f260f6d15babcb11156ea9de 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Listener;
 
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Listener\Listenable;
 use Hub\Network\Networkable;
 
index 063936ddac60452a81ff3f64fcc3dcd2319ac623..867461c63ca0b36c89fc592ebdf746ca1b2e82bb 100644 (file)
@@ -22,6 +22,7 @@ use Hub\Tag\Tagable;
 use Hub\Tools\HubTools;
 
 // Import framework stuff
+use CoreFramework\Compressor\Compressor;
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Factory\Registry\Socket\SocketRegistryFactory;
 use CoreFramework\Registry\Registry;
index 6ea6fb2fdda756b1123e972bd7b9eff13051de28..8d850d6df8df1853f14237c2a848b257064ea5db 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Task\Network\Reader;
 
+// Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
+
 // Import framework stuff
 use CoreFramework\Task\BaseTask;
 use CoreFramework\Task\Taskable;
@@ -122,7 +125,5 @@ class NetworkPackageReaderTask extends BaseTask implements Taskable, Visitable {
        public function doShutdown () {
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('TASK: Shutting down...');
        }
-}
 
-// [EOF]
-?>
+}
index 71643c084d84d496ff8c918c8c468a57b0ee3bd2..dc1c5220b3dcf765b9522b6e9f5886eb1135d723 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Task\Network\Writer;
 
+// Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
+
 // Import framework stuff
 use CoreFramework\Task\BaseTask;
 use CoreFramework\Task\Taskable;
@@ -100,7 +103,5 @@ class NetworkPackageWriterTask extends BaseTask implements Taskable, Visitable {
        public function doShutdown () {
                self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('TASK: Shutting down...');
        }
-}
 
-// [EOF]
-?>
+}
index 302c9cf8339dfb569c8e726cbdba05f45932832c..7002224e4713ee097aca829a67a606e1a1409802 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Visitor\;
 
 // Import application-specific stuff
 use Hub\Pool\Poolable;
+use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Visitor\BaseVisitor;
index 6a6d4d1806bdac3fcecd3254f2ae98eb7cec04cc..0a4f1298d3fb1718d8b1c18541a0f16dddd7171f 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Visitor\Handler\;
 
 // Import application-specific stuff
 use Hub\Pool\Poolable;
+use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Visitor\BaseVisitor;
index ddb59514ac0fa908446dae66dd67cedbd242831a..a70420caff34101be7c72d773fcb0eeb37d4e52d 100644 (file)
@@ -7,6 +7,7 @@ use Hub\Listener\Listenable;
 use Hub\Network\Receive\Receivable;
 use Hub\Pool\Poolable;
 use Hub\Visitor\Listener\ListenerVisitor;
+use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Visitor\BaseVisitor;
index 686b38679d84ab4a1db8b5a3533b07a81c0533a8..08b3b1286df4d85fef5c8b010c96c8fac79fa454 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Visitor\;
 
 // Import application-specific stuff
 use Hub\Pool\Poolable;
+use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Visitor\BaseVisitor;
index 2d294692335e5a5454ef22cd154878afb60750af..fab8b1bb5d7d50e9b63fe08832e873cff3a67e78 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Visitor\Pool\Listener;
 // Import application-specific stuff
 use Hub\Listener\Listenable;
 use Hub\Pool\Poolable;
+use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Visitor\BaseVisitor;
index 15cad687d13dcfca319a56516904fabf95d7a9d1..07afbe63106685a41a7d75f8d4852fa819e59b7e 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Visitor\Shutdown\Socket;
 
 // Import application-specific stuff
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Connection\ConnectionHelper;
 use Hub\Network\Deliver\Deliverable;
 
index 0d43470e496e051491f4220838aaaf0d37693e88..302d2aa338f29aa52299707846a9b2f40454641c 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Visitor\Shutdown\Socket;
 
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
+use Hub\Factory\Network\NetworkPackageFactory;
 use Hub\Helper\Connection\ConnectionHelper;
 use Hub\Network\Deliver\Deliverable;
 
index debdcaa334844b07de378e639b1d86fe8af0946f..fabb8afcd0122b286224eb8299a087c2d1c16da5 100644 (file)
@@ -133,7 +133,7 @@ $cfg->setConfigEntry('shutdown_socket_visitor_class', 'Hub\Visitor\Shutdown\Sock
 $cfg->setConfigEntry('half_shutdown_socket_visitor_class', 'Hub\Visitor\Shutdown\Socket\HalfShutdownSocketVisitor');
 
 // CFG: NODE-RAW-DATA-MONITOR-VISITOR-CLASS
-$cfg->setConfigEntry('node_raw_data_monitor_visitor_class', 'RawDataPoolMonitorVisitor');
+$cfg->setConfigEntry('node_raw_data_monitor_visitor_class', 'Hub\Visitor\Monitor\Pool\RawDataPoolMonitorVisitor');
 
 // CFG: ACTIVE-TASK-VISITOR-CLASS
 $cfg->setConfigEntry('active_task_visitor_class', 'Hub\Visitor\Task\Active\ActiveTaskVisitor');
@@ -145,7 +145,7 @@ $cfg->setConfigEntry('node_announcement_helper_class', 'NodeAnnouncementHelper')
 $cfg->setConfigEntry('node_self_connect_helper_class', 'NodeSelfConnectHelper');
 
 // CFG: DHT-BOOTSTRAP-HELPER-CLASS
-$cfg->setConfigEntry('dht_bootstrap_helper_class', 'DhtBootstrapHelper');
+$cfg->setConfigEntry('dht_bootstrap_helper_class', 'Hub\Helper\Dht\Bootstrap\DhtBootstrapHelper');
 
 // CFG: DHT-PUBLISH-ENTRY-HELPER-CLASS
 $cfg->setConfigEntry('dht_publish_entry_helper_class', 'DhtPublishEntryHelper');
@@ -277,7 +277,7 @@ $cfg->setConfigEntry('node_announcement_answer_template_class', 'XmlAnnouncement
 $cfg->setConfigEntry('node_request_node_list_template_class', 'XmlRequestNodeListTemplateEngine');
 
 // CFG: NODE-DHT-BOOTSTRAP-TEMPLATE-CLASS
-$cfg->setConfigEntry('node_dht_bootstrap_template_class', 'XmlDhtBootstrapTemplateEngine');
+$cfg->setConfigEntry('node_dht_bootstrap_template_class', 'Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine');
 
 // CFG: NODE-DHT-BOOTSTRAP-ANSWER-TEMPLATE-CLASS
 $cfg->setConfigEntry('node_dht_bootstrap_answer_template_class', 'XmlDhtBootstrapAnswerTemplateEngine');
@@ -289,7 +289,7 @@ $cfg->setConfigEntry('node_request_node_list_answer_template_class', 'XmlRequest
 $cfg->setConfigEntry('node_request_node_list_entries_template_class', 'XmlRequestNodeListEntryTemplateEngine');
 
 // CFG: DHT-BOOTSTRAP-TEMPLATE-CLASS
-$cfg->setConfigEntry('dht_bootstrap_template_class', 'XmlDhtBootstrapTemplateEngine');
+$cfg->setConfigEntry('dht_bootstrap_template_class', 'Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine');
 
 // CFG: DHT-PUBLISH-ENTRY-TEMPLATE-CLASS
 $cfg->setConfigEntry('dht_publish_entry_template_class', 'XmlDhtPublishEntryTemplateEngine');
@@ -700,13 +700,13 @@ $cfg->setConfigEntry('node_ping_iterator_class', 'Hub\Iterator\Node\Ping\NodePin
 $cfg->setConfigEntry('web_template_class', 'ConsoleTemplateEngine');
 
 // CFG: NETWORK-PACKAGE-CLASS
-$cfg->setConfigEntry('network_package_class', 'NetworkPackage');
+$cfg->setConfigEntry('network_package_class', 'Hub\Network\Package\NetworkPackage');
 
 // CFG: PACKAGE-COMPRESSOR-CLASS
-$cfg->setConfigEntry('deco_package_compressor_class', 'NetworkPackageCompressorDecorator');
+$cfg->setConfigEntry('deco_package_compressor_class', 'Hub\Network\Compressor\Package\NetworkPackageCompressorDecorator');
 
 // CFG: RAW-PACKAGE-COMPRESSOR-CLASS
-$cfg->setConfigEntry('raw_package_compressor_class', 'ZlibCompressor');
+$cfg->setConfigEntry('raw_package_compressor_class', 'CoreFramework\Compressor\Zlib\ZlibCompressor');
 
 // CFG: SOCKET-REGISTRY-CLASS
 $cfg->setConfigEntry('socket_registry_class', 'Hub\Registry\Socket\SocketRegistry');
@@ -803,7 +803,7 @@ $cfg->setConfigEntry('node_status', 'invalid');
 $cfg->setConfigEntry('package_fragmenter_class', 'Hub\Network\Package\Fragment\PackageFragmenter');
 
 // CFG: PACKAGE-ASSEMBLER-CLASS
-$cfg->setConfigEntry('package_assembler_class', 'PackageAssembler');
+$cfg->setConfigEntry('package_assembler_class', 'Hub\Network\Package\Assembler\PackageAssembler');
 
 // CFG: PACKAGE-CHUNK-SIZE
 $cfg->setConfigEntry('package_chunk_size', 256*8);
index 5e2e6dd2c9bfce4c1ca5966f7c0f7894a13d9622..6bc1d11a01e8849cd0595ef182b9fedb6e14a24c 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Dht\Bootstrap;
 
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
+use Hub\Template\Engine\Xml\Dht\Bootstrap\XmlDhtBootstrapTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
index 5e03b451ce015fd32ca29beb1ddcfd70df4159b2..600da217d17fd1a065582264ef5ed16bd802ce06 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Assembler;
+namespace Hub\Network\Package\Assembler;
 
 // Import application-specific stuff
 use Hub\Generic\HubInterface;
index 39af5e263c9082ddff640511c605632fcf15a2f3..eca9dfeb5f479981d738f1407c4fdea67a95920a 100644 (file)
@@ -4,8 +4,7 @@ namespace Hub\Visitor\Pool\Listener;
 
 // Import application-specific stuff
 use Hub\Listener\Listenable;
-
-// Import framework stuff
+use Hub\Visitor\Pool\PoolVisitor;
 
 /**
  * An interface for the visitor implementation for pools