]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Mon, 22 May 2017 17:31:22 +0000 (19:31 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:08 +0000 (18:50 +0200)
- imported NodeObjectFactory
- imported PackageTagsFactory
- imported BaseTag, Tagable
- imported XmlTemplateEngineFactory
- imported XmlObjectRegistryTemplateEngine
- imported Base((Xml)Answer)TemplateEngine, CompileableTemplate
- imported ObjectTypeRegistryFactory
- added namespaces to configuration entries
- separated namespace: Template\Engine

Signed-off-by: Roland Häder <roland@mxchange.org>
51 files changed:
application/hub/classes/discovery/protocol/class_ProtocolDiscovery.php
application/hub/classes/filter/class_BaseHubFilter.php
application/hub/classes/filter/tags/answer/class_PackageAnnouncementAnswerTagFilter.php
application/hub/classes/filter/tags/answer/class_PackageDhtBootstrapAnswerTagFilter.php
application/hub/classes/filter/tags/answer/class_PackageRequestNodeListAnswerTagFilter.php
application/hub/classes/filter/tags/class_PackageSelfConnectTagFilter.php
application/hub/classes/handler/message-types/answer/class_NodeMessageAnnouncementAnswerHandler.php
application/hub/classes/handler/message-types/answer/class_NodeMessageDhtBootstrapAnswerHandler.php
application/hub/classes/handler/message-types/answer/class_NodeMessageRequestNodeListAnswerHandler.php
application/hub/classes/handler/raw_data/class_BaseDataHandler.php
application/hub/classes/handler/raw_data/network/class_BaseRawDataHandler.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/connection/class_NodeSelfConnectHelper.php
application/hub/classes/helper/node/requests/class_NodeRequestNodeListHelper.php
application/hub/classes/listener/class_BaseListener.php
application/hub/classes/listener/socket/decorator/class_SocketFileListenerDecorator.php
application/hub/classes/listener/tcp/decorators/class_ClientTcpListenerDecorator.php
application/hub/classes/listener/tcp/decorators/class_HubTcpListenerDecorator.php
application/hub/classes/listener/udp/decorators/class_ClientUdpListenerDecorator.php
application/hub/classes/listener/udp/decorators/class_HubUdpListenerDecorator.php
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/package/class_NetworkPackage.php
application/hub/classes/producer/cruncher/work_units/class_CruncherTestUnitProducer.php
application/hub/classes/registry/objects/class_ObjectTypeRegistry.php
application/hub/classes/states/node/active/class_NodeActiveState.php
application/hub/classes/tags/class_
application/hub/classes/tags/package/class_PackageTags.php
application/hub/classes/tasks/node/tags/class_NodePackageTagsInitTask.php
application/hub/classes/template/announcement/class_XmlAnnouncementTemplateEngine.php
application/hub/classes/template/answer/announcement/class_XmlAnnouncementAnswerTemplateEngine.php
application/hub/classes/template/answer/class_
application/hub/classes/template/answer/class_BaseXmlAnswerTemplateEngine.php
application/hub/classes/template/answer/dht/class_XmlDhtBootstrapAnswerTemplateEngine.php
application/hub/classes/template/answer/requests/class_XmlRequestNodeListAnswerTemplateEngine.php
application/hub/classes/template/class_
application/hub/classes/template/class_BaseXmlTemplateEngine.php
application/hub/classes/template/connect/class_XmlSelfConnectTemplateEngine.php
application/hub/classes/template/dht/class_XmlDhtBootstrapTemplateEngine.php
application/hub/classes/template/entries/class_XmlRequestNodeListEntryTemplateEngine.php
application/hub/classes/template/objects/class_XmlObjectRegistryTemplateEngine.php
application/hub/classes/template/producer/test_units/class_XmlCruncherTestUnitTemplateEngine.php
application/hub/classes/template/publish/class_XmlDhtPublishEntryTemplateEngine.php
application/hub/classes/template/requests/class_XmlRequestNodeListTemplateEngine.php
application/hub/config.php
application/hub/exceptions/dht/class_NoDhtBootstrapAttemptedException.php
core

index f49bdc812eaf2e275629d7fc2f10db572e5bafbd..1a1448ed8c0047c89a56aeadac4bb88f612c0b9c 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Discovery\Protocol;
 
 // Import application-specific stuff
 use Hub\Discovery\Node\BaseNodeDiscovery;
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
index 0ce246bacf04d2692d3e8dd86778eba74c38b771..5bb5be73b52af43dc708af221b1c1e04d44a474a 100644 (file)
@@ -7,6 +7,7 @@ use Hub\Network\Package\NetworkPackage;
 use Hub\Network\Receive\Receivable;
 
 // Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 use CoreFramework\Filter\BaseFilter;
 
 /**
index f753eee22a5ea7b925dc52f27f514196b752146e..56c1d139b071435842dce9fd9605b29cd8cea9be 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Filter\Tag\Network\Answer\Announcement;
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 3be38aee788d8c87a99e404a4b95bb6695f701a6..1e91d832b462b4fe9bc85756f5e3161fedfbf13e 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Filter\Tag\Network\Answer\Dht\Bootstrap;
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index 6b17e7312278bc0e6971906ca269b1113e9da2dd..02599a20d6a6d2fbf7bf3779606e69efe0a4ab69 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Filter\Tag\Network\Answer\Request\NodeList;
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
index b42d235a673a17c8f55f2229144202f0e0fe7b79..5c59c323cc726ff9e2a992e210acc5f5123e61f9 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Filter\Tag\Network\SelfConnect;
 // Import application-specific stuff
 use Hub\Filter\Node\BaseNodeFilter;
 use Hub\Network\Receive\Receivable;
+use Hub\Tag\Tagable;
 
 // Import framework stuff
 use CoreFramework\Filter\Filterable;
@@ -94,7 +95,7 @@ class PackageSelfConnectTagFilter extends BaseNodeFilter implements FilterablePa
         */
        public function processMessage (array $messageData, Receivable $packageInstance) {
                // Process generic
-               $this->genericProcessMessage(BaseTag::TAG_SELF_CONNECT, $messageData, $packageInstance);
+               $this->genericProcessMessage(Tagable::TAG_SELF_CONNECT, $messageData, $packageInstance);
        }
 
        /**
index 91e807ef7613d71dd972b3726f310f796c442ef9..932b647b1afa9e32605247b4e4371a38bad35a98 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Handler\Node\Answer\Announcement;
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index a256faa979e431e0ec81bb12aaf164c5d639c511..33773915292c664a6dbee3ebf8d8836c784a680a 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\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index f09efd7d4a57776c57e1d3815ef35064ca27c958..f2a4aa3282d1883d90e6b7e0b6a2006ddaa67ab9 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Handler\Node\Answer\Request\NodeList;
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Criteria\Storing\StoreableCriteria;
index b6a47f15a6ba230c707b9ddd971f96f9a9d506e1..6b06d8972f8f13296f84b9586540ca78afd87928 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Handler\Data;
 
 // Import application-specific stuff
+use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Network\Deliver\Deliverable;
 
 // Import framework stuff
index 2034014473252eec40e21811787bd6288c860750..914baddf68db6d7ebd1a028e25bbf179647320b0 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Handler\Network\RawData;
 
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
+use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
index 29fdc3477d97d1b42f7714e9e84d093735fb92a2..47adf97506d16d3b92855cd9920031bd12b88d89 100644 (file)
@@ -8,6 +8,9 @@ use Hub\Generic\BaseHubSystem;
 use Hub\Helper\BaseHubSystemHelper;
 use Hub\Network\Package\NetworkPackage;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A Bootstrap Dht helper class
  *
index 174f3e9dca0cec1081537773367bb3cb13d1b4fd..c93667b52fa931eb99e9fcdf3b9bcbfa3e330aeb 100644 (file)
@@ -8,6 +8,9 @@ use Hub\Generic\BaseHubSystem;
 use Hub\Helper\BaseHubSystemHelper;
 use Hub\Network\Package\NetworkPackage;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A PublishingEntry Dht helper class
  *
index 78a6e566f86acd78e6676adc9b1c97721ef520bd..630058a3f9ecb91d6c21f0d32746488a4b826907 100644 (file)
@@ -6,6 +6,9 @@ namespace Hub\Node\Helper\Announcement;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A helper class for announcing this node to other nodes
  *
index 888d9799cac9b6df644384ca7efcff91e1919a3c..522e8150f421f9bbbff59b3313a93f9755fdeece 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Node\Helper\Answer\Announcement;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A AnnouncementMessageAnswer node helper class
  *
index ad4a5a64c41877856ba63c596e75143a91d250c5..7883373ff0a02ea40bd535d54fc3abcb5ab602a1 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Node\Helper\Answer\Dht\Bootstrap;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A DhtBootstrapMessageAnswer node helper class
  *
index afd0d34ed4a430b0f3706c4ae805d498931f4843..216b28faa894ff6761068ace77f5f81b8a1dcf34 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Node\Helper\Answer\Request\NodeList;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A RequestNodeListMessageAnswer node helper class
  *
index e4e9a6b759450516a3f849d51d6fde917641b8ac..83cb5c7baf4587c9e85750ab57848fa5480b7a4e 100644 (file)
@@ -5,6 +5,10 @@ namespace Hub\Node\Helper\SelfConnect;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
+use Hub\Tag\Tagable;
+
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 
 /**
  * A SelfConnect hub helper class
@@ -43,7 +47,7 @@ class NodeSelfConnectHelper extends BaseNodeHelper implements HelpableNode {
                $this->setRecipientType(NetworkPackage::NETWORK_TARGET_SELF);
 
                // Set package tags
-               $this->setPackageTags(array(BaseTag::TAG_SELF_CONNECT));
+               $this->setPackageTags(array(Tagable::TAG_SELF_CONNECT));
        }
 
        /**
index fcc61c3461cf3ab7abf1d9b2f5fa53870dfbe3f7..27a9f9e39835cf389769a0bd0f1cb804141b48d5 100644 (file)
@@ -6,6 +6,9 @@ namespace Hub\Node\Helper\Request\NodeList;
 use Hub\Helper\Node\NodeHelper;
 use Hub\Network\Package\NetworkPackage;
 
+// Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
+
 /**
  * A ??? hub helper class
  *
index 575aca243d192d95d23144c696a8ed164d03fb9b..4b871ece6c0f7ad098d8090977c63e086a94e122 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Listener;
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
 use Hub\Factory\Information\Connection\ConnectionInfoFactory;
+use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Generic\BaseHubSystem;
 use Hub\Network\Package\NetworkPackage;
 use Hub\Pool\Peer\PoolablePeer;
index eec70ec0c81d99bf0f4f2f80df246e02bb2068e6..6d54616a7573a22dad3a9b7103d069b4674ae24e 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Listener\Socket;
 
 // Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Listener\BaseListenerDecorator;
 use Hub\Listener\Listenable;
 
index 68411d45a34ef2b51cdcc5d78000f072a64178bc..a38d4d2fd6f3801fbfa07b8612e7dbe0b02fd85c 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Listener\Client\Tcp;
 
 // Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Listener\BaseListenerDecorator;
 use Hub\Listener\Listenable;
 
index e8bf04c30845a1fd345f00b5bca98a85e797c177..f5f2c08b019dc39e121661bd17c3df52ef3d2697 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Listener\Hub\Tcp;
 
 // Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Listener\BaseListenerDecorator;
 use Hub\Listener\Listenable;
 
index 0caf52c0b72aa798ad02f26b5ea4f6262c7ce5dc..15008105e6fcd51129294d4c344e5667df82f751 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Listener\Client\Udp;
 
 // Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Listener\BaseListenerDecorator;
 use Hub\Listener\Listenable;
 
index a6621dbbdc3868dbe05cfe976ff03688397f6cb4..15cd60583fbe3e612a0ce449b4f31fbfc2a3ce60 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Listener\Hub\Udp;
 
 // Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
 use Hub\Listener\BaseListenerDecorator;
 use Hub\Listener\Listenable;
 
index e57002eb60fcf53b8c99eddacd8849c10888d0c9..44d2928905f8ae7bc3a138ab7b1f8fe2b1c4dd9e 100644 (file)
@@ -5,11 +5,14 @@ namespace Hub\Node;
 // Import hub-specific stuff
 use Hub\Database\Frontend\Node\Dht\NodeDistributedHashTableDatabaseWrapper;
 use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper;
+use Hub\Factory\Registry\Object\ObjectTypeRegistryFactory;
 use Hub\Factory\State\Node\NodeStateFactory;
 use Hub\Locator\Node\LocateableNode;
 use Hub\Generic\BaseHubSystem;
 use Hub\Network\Package\NetworkPackage;
 use Hub\Network\Receive\Receivable;
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
+use Hub\Template\Engine\Xml\ObjectRegistry\XmlObjectRegistryTemplateEngine;
 use Hub\Tools\HubTools;
 
 // Import framework stuff
index feeca4db29c4b3c9b501f25bfb49aac28fac74be..063936ddac60452a81ff3f64fcc3dcd2319ac623 100644 (file)
@@ -18,6 +18,7 @@ use Hub\Network\Deliver\Deliverable;
 use Hub\Network\Networkable;
 use Hub\Network\Package\Fragment\PackageFragmenter;
 use Hub\Network\Receive\Receivable;
+use Hub\Tag\Tagable;
 use Hub\Tools\HubTools;
 
 // Import framework stuff
@@ -1524,7 +1525,7 @@ class NetworkPackage extends BaseHubSystem implements Deliverable, Receivable, R
                $nodeId = HubTools::resolveNodeIdBySessionId($messageData[self::MESSAGE_ARRAY_SENDER]);
 
                // Is 'claim_reward' the message type?
-               if (in_array(BaseTag::TAG_CLAIM_MINING_REWARD, $messageData[self::MESSAGE_ARRAY_TAGS])) {
+               if (in_array(Tagable::TAG_CLAIM_MINING_REWARD, $messageData[self::MESSAGE_ARRAY_TAGS])) {
                        /*
                         * Then don't feed this message to the miner as this causes an
                         * endless loop of mining.
index 21dd2f1f5e5f6d7864d0b917e0385825584f7e38..e34d5b8ba215bc9b2dd93bb15716b43e6b27f91b 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Cruncher\Producer\Unit;
 // Import framework stuff
 use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\State\Stateable;
 
index 2ddce85852e588d38b823b3fcc793e280cf5bf20..cc73b12a940498c2b20d2013041fcd796254b83c 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 // Own namespace
-namespace Hub\Registry\ObjectType;
+namespace Hub\Registry\Object;
 
 // Imported framework stuff
 use CoreFramework\Registry\BaseRegistry;
index 71739508d04f34d0da8ec84d02d8061697468c0c..6fad50910ad70ec23c95f4f83a78934217eed991 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\State\Node;
 
 // Import framework stuff
+use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Factory\State\Node\NodeStateFactory;
 
 // Import framework stuff
index 0382a535b86668f4682fbd85c0ebd497ebfc6086..59e51004e39bd834df84027c952e84c20b59ec7d 100644 (file)
@@ -1,4 +1,11 @@
 <?php
+// Own namespace
+namespace Hub\Tag\;
+
+// Import application-specific stuff
+use Hub\Tag\BaseTag;
+use Hub\Tag\Tagable;
+
 /**
  * A ??? tags class
  *
index de14f82339eed0738ffcb29e02c04de4e8fb3e35..f85fc72495aa58842b54ebcf22ffff1ba8f7c84e 100644 (file)
@@ -1,12 +1,17 @@
 <?php
 // Own namespace
-namespace Hub\Tag\Network;
+namespace Hub\Tag\Package;
 
 // Import application-specific stuff
+use Hub\Factory\Registry\Object\ObjectTypeRegistryFactory;
 use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
+use Hub\Tag\BaseTag;
+use Hub\Tag\Tagable;
+use Hub\Template\Engine\Xml\ObjectRegistry\XmlObjectRegistryTemplateEngine;
 
 // Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 use CoreFramework\Registry\Registry;
 
 /**
index 6afab968defb8ce001cf06d6998011575c1e69df..2a54b5aa6e487f80bb3a001fe9ef46bf17bf29e0 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Node\Task\Initialization\Tag;
 
+// Import application-specific stuff
+use Hub\Factory\Tag\Package\PackageTagsFactory;
+
 // Import framework stuff
 use CoreFramework\Task\BaseTask;
 use CoreFramework\Task\Taskable;
index 24a2a0529d2c2266da85f1882041590820fe4637..cc79427c9eff4dd553ee5a7c13f5f3b0cd97280e 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Announcement;
+namespace Hub\Template\Engine\Xml\Announcement;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An Announcement template engine class for XML templates
index a952ef39fa381b7119f0d0b707c02375084904df..0707bfb4e6be83717a9170cf26e6f72197c85a09 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Answer\Announcement;
+namespace Hub\Template\Engine\Xml\Answer\Announcement;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An AnnouncementAnswer template engine class for XML templates
index 7aba4b38dd48cbb86bf73a58180a8ade720c44a6..86bf6c3df4e7fa037ea059cb0a20120d5bf94a1d 100644 (file)
@@ -1,4 +1,14 @@
 <?php
+// Own namespace
+namespace Hub\Template\Engine\Xml\Network\Answer\;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
+
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
+
 /**
  * An ??? answer template engine class for XML templates
  *
index ee8b012d1646adab32c738c634e870699d3284f4..9a689e5c7f3d12d74a8339cfa22e6faa791520f4 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Answer;
+namespace Hub\Template\Engine\Xml\Network\Answer;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An generic answer template engine class for XML templates
index 9f52a5d84af9b1d3324acd7a859d8c45867697b8..e9f433e9e0a1e40351b7f3c5f7bc895474e5782c 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Answer\Dht\Bootstrap;
+namespace Hub\Template\Engine\Xml\Answer\Dht\Bootstrap;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An DhtBootstrapAnswer template engine class for XML templates
index d5896269349bf47b36677b72c8a75c0539099092..e712e1537847ad57b04885ea8f5ac4b9fa0de685 100644 (file)
@@ -1,9 +1,14 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Answer\Request\NodeList;
+namespace Hub\Template\Engine\Xml\Answer\Request\NodeList;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
 
 // Import framework stuff
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * A RequestNodeListAnswer template engine class for XML templates
index a36aad5f537c59ea71583a038a26b9ea2c6e64f7..1dd66b307e6ca528ce02f44d3a77ec50317e497b 100644 (file)
@@ -1,4 +1,14 @@
 <?php
+// Own namespace
+namespace Hub\Template\Engine\Xml\;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
+
+// Import framework stuff
+use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
+
 /**
  * An ??? template engine class for XML templates
  *
index 1569e8ba658b630ff927a2f4298d2f2d3ffc320c..04dbe46131bc9748d00c7244821c56ec4fe3c952 100644 (file)
@@ -1,11 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\TemplateEngine\Xml;
+namespace Hub\Template\Engine\Xml;
 
 // Import framework stuff
 use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Factory\ObjectFactory;
+use CoreFramework\Factory\Template\XmlTemplateEngineFactory;
 use CoreFramework\Registry\Registry;
+use CoreFramework\Template\Engine\BaseTemplateEngine;
 
 /**
  * A generic XML template engine class
index 04b936af73261fb10d553426047cc76b3ebb1f29..711e6e3ec48e6e36bf3be9ac3b4c707cff5d6a6f 100644 (file)
@@ -1,9 +1,14 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\SelfConnect;
+namespace Hub\Template\Engine\Xml\SelfConnect;
+
+// Import application-specific stuff
+use Hub\Tag\Tagable;
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An SelfConnect template engine class for XML templates
@@ -68,7 +73,7 @@ class XmlSelfConnectTemplateEngine extends BaseXmlTemplateEngine implements Comp
                $templateInstance = new XmlSelfConnectTemplateEngine();
 
                // Init template instance
-               $templateInstance->initXmlTemplateEngine('node', BaseTag::TAG_SELF_CONNECT);
+               $templateInstance->initXmlTemplateEngine('node', Tagable::TAG_SELF_CONNECT);
 
                // Return the prepared instance
                return $templateInstance;
index 9213893e6c23bd4c49bc1122b5f5f07380434f51..afff5921a0775ca3b4201c90bb39697850fa4291 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Dht\Bootstrap;
+namespace Hub\Template\Engine\Xml\Dht\Bootstrap;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An Bootstrap template engine class for XML templates
index 1c55b8cb5c3cce391710cdd9c9ebf97763bfee81..4ddbc237ab0caec0fec708668cf54031730868cf 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Request\NodeList;
+namespace Hub\Template\Engine\Xml\Request\NodeList;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An RequestNodeListEntry template engine class for XML templates
index 6f5081948aaa23ebafbbe74b0fbd82ad6ad97683..c7bac2d832359b3868b4484e5652fb8a394ca6b6 100644 (file)
@@ -1,10 +1,15 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\ObjectRegistry;
+namespace Hub\Template\Engine\Xml\ObjectRegistry;
+
+// Import application-specific stuff
+use Hub\Factory\Registry\Object\ObjectTypeRegistryFactory;
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registry;
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An ObjectRegistry template engine class for XML templates
index 566a31b53d7a1745b97eb2eb232df5115e6a8c76..00cc9353ecdc767a640db7de291eb2dbe925c60f 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Cruncher\TemplateEngine\Xml\TestUnit;
+namespace Hub\Cruncher\Template\Engine\Xml\TestUnit;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An TestUnit template engine class for XML templates
index e50525fff8ec8eb325df880e78c01b05bbaceccc..d2bae5ec122c3b09a887ee025a1ac0956f4592ff 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Dht\Publish;
+namespace Hub\Template\Engine\Xml\Dht\Publish;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An PublishEntry template engine class for XML templates
index 11cc1c8c3f7096ed03afb69ba4b9bab8fcf02fe7..1dd075fe1e77e27713f042ec8fd051f2ddad3d53 100644 (file)
@@ -1,9 +1,13 @@
 <?php
 // Own namespace
-namespace Hub\Node\TemplateEngine\Xml\Request\NodeList;
+namespace Hub\Template\Engine\Xml\Request\NodeList;
+
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\BaseXmlTemplateEngine;
 
 // Import framework stuff
 use CoreFramework\Registry\Registerable;
+use CoreFramework\Template\CompileableTemplate;
 
 /**
  * An RequestNodeList template engine class for XML templates
index 5f27fd1f07b72b4d6b40f5937e86b92dab2ecfa2..debdcaa334844b07de378e639b1d86fe8af0946f 100644 (file)
@@ -358,7 +358,7 @@ $cfg->setConfigEntry('node_self_connect_stacker_class', 'CoreFramework\Stacker\F
 $cfg->setConfigEntry('node_request_node_list_stacker_class', 'CoreFramework\Stacker\FiLoStacker');
 
 // CFG: NODE-OBJECT-REGISTRY-TEMPLATE-CLASS
-$cfg->setConfigEntry('node_object_registry_template_class', 'XmlObjectRegistryTemplateEngine');
+$cfg->setConfigEntry('node_object_registry_template_class', 'Hub\Template\Engine\Xml\ObjectRegistry\XmlObjectRegistryTemplateEngine');
 
 // CFG: NODE-OBJECT-REGISTRY-TEMPLATE-EXTENSION
 $cfg->setConfigEntry('node_object_registry_template_extension', '.xml');
@@ -370,7 +370,7 @@ $cfg->setConfigEntry('node_object_registry_template_type', 'xml/object_registry'
 $cfg->setConfigEntry('node_object_registry_stacker_class', 'CoreFramework\Stacker\FiLoStacker');
 
 // CFG: NODE-OBJECT-TYPE-REGISTRY-CLASS
-$cfg->setConfigEntry('node_object_type_registry_class', 'ObjectTypeRegistry');
+$cfg->setConfigEntry('node_object_type_registry_class', 'Hub\Registry\Object\ObjectTypeRegistry');
 
 // CFG: DHT-BOOTSTRAP-TEMPLATE-TYPE
 $cfg->setConfigEntry('node_dht_bootstrap_template_type', 'xml/dht_bootstrap');
@@ -739,7 +739,7 @@ $cfg->setConfigEntry('universal_node_locator_class', 'Hub\Locator\Node\Universal
 $cfg->setConfigEntry('recipient_list_class', 'RecipientList');
 
 // CFG: PACKAGE-TAGS-CLASS
-$cfg->setConfigEntry('package_tags_class', 'PackageTags');
+$cfg->setConfigEntry('package_tags_class', 'Hub\Tag\Package\PackageTags');
 
 // CFG: TCP-CONNECTION-HELPER-CLASS
 $cfg->setConfigEntry('tcp_connection_helper_class', 'TcpConnectionHelper');
index f977c1c2333b414dad85de98dae730a56ee5b42b..a0bf4955bfb80bfc53e3911c43b1ae8acb9b6c35 100644 (file)
@@ -2,6 +2,9 @@
 // Own namespace
 namespace Hub\Dht;
 
+// Import application-specific stuff
+use Hub\Template\Engine\Xml\Network\Answer\BaseXmlAnswerTemplateEngine;
+
 // Import framework stuff
 use CoreFramework\Generic\FrameworkException;
 
@@ -49,7 +52,5 @@ class NoDhtBootstrapAttemptedException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
diff --git a/core b/core
index 8180df9650994694ac2db841d91b6bfa2d83d36f..3e5fae60e3629d3b12cef0bb786f1db7994044ab 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 8180df9650994694ac2db841d91b6bfa2d83d36f
+Subproject commit 3e5fae60e3629d3b12cef0bb786f1db7994044ab