]> git.mxchange.org Git - hub.git/commitdiff
Next larger wave:
authorRoland Häder <roland@mxchange.org>
Fri, 19 May 2017 00:20:43 +0000 (02:20 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:49:58 +0000 (18:49 +0200)
- imported all (?) object factories
- created more namespaces

Signed-off-by: Roland Häder <roland@mxchange.org>
81 files changed:
application/hub/classes/commands/console/class_HubConsoleAptProxyCommand.php
application/hub/classes/commands/console/class_HubConsoleChatCommand.php
application/hub/classes/commands/console/class_HubConsoleCrawlerCommand.php
application/hub/classes/commands/console/class_HubConsoleCruncherCommand.php
application/hub/classes/commands/console/class_HubConsoleMainCommand.php
application/hub/classes/commands/console/class_HubConsoleMinerCommand.php
application/hub/classes/commands/html/class_HubHtmlIndexCommand.php
application/hub/classes/controller/console/class_HubConsoleDefaultNewsController.php
application/hub/classes/cruncher/mcrypt/class_HubMcryptCruncher.php
application/hub/classes/database/frontend/cruncher/class_CruncherUnitDatabaseWrapper.php
application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php
application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php
application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php
application/hub/classes/dht/node/class_NodeDhtFacade.php
application/hub/classes/factories/chain/class_PackageFilterChainFactory.php
application/hub/classes/factories/chunks/class_ChunkHandlerFactory.php
application/hub/classes/factories/communicator/class_CommunicatorFactory.php
application/hub/classes/factories/decoder/class_DecoderFactory.php
application/hub/classes/factories/discovery/class_PackageDiscoveryFactory.php
application/hub/classes/factories/discovery/class_SocketDiscoveryFactory.php
application/hub/classes/factories/handler/class_MessageTypeHandlerFactory.php
application/hub/classes/factories/handler/class_ProtocolHandlerFactory.php
application/hub/classes/factories/info/class_ConnectionInfoFactory.php
application/hub/classes/factories/lists/class_RecipientListFactory.php
application/hub/classes/factories/node/class_NodeObjectFactory.php
application/hub/classes/factories/package/assembler/class_PackageAssemblerFactory.php
application/hub/classes/factories/package/class_NetworkPackageFactory.php
application/hub/classes/factories/package/fragmenter/class_FragmenterFactory.php
application/hub/classes/factories/producer/class_ProducerFactory.php
application/hub/classes/factories/registry/class_ObjectTypeRegistryFactory.php
application/hub/classes/factories/resolver/class_ProtocolResolverFactory.php
application/hub/classes/factories/scanner/class_ScannerObjectFactory.php
application/hub/classes/factories/socket/class_SocketFactory.php
application/hub/classes/factories/source/units/class_UnitSourceFactory.php
application/hub/classes/factories/source/url/class_UrlSourceObjectFactory.php
application/hub/classes/factories/states/communicator/class_CommunicatorStateFactory.php
application/hub/classes/factories/states/crawler/class_CrawlerStateFactory.php
application/hub/classes/factories/states/cruncher/class_CruncherStateFactory.php
application/hub/classes/factories/states/dht/class_DhtStateFactory.php
application/hub/classes/factories/states/miner/class_MinerStateFactory.php
application/hub/classes/factories/states/node/class_NodeStateFactory.php
application/hub/classes/factories/states/peer/class_PeerStateFactory.php
application/hub/classes/factories/tags/class_PackageTagsFactory.php
application/hub/classes/filter/activation/node/class_NodeActivationAnnouncementFilter.php
application/hub/classes/filter/apt-proxy/class_AptProxyInitializationFilter.php
application/hub/classes/filter/chat/class_ChatInitializationFilter.php
application/hub/classes/filter/crawler/class_CrawlerInitializationFilter.php
application/hub/classes/filter/cruncher/class_CruncherInitializationFilter.php
application/hub/classes/filter/miner/class_MinerInitializationFilter.php
application/hub/classes/filter/task/apt-proxy/class_AptProxyTaskHandlerInitializerFilter.php
application/hub/classes/filter/task/chat/class_ChatTaskHandlerInitializerFilter.php
application/hub/classes/filter/task/crawler/class_CrawlerTaskHandlerInitializerFilter.php
application/hub/classes/filter/task/cruncher/class_CruncherTaskHandlerInitializerFilter.php
application/hub/classes/filter/task/miner/class_MinerTaskHandlerInitializerFilter.php
application/hub/classes/filter/task/node/class_NodeTaskHandlerInitializerFilter.php
application/hub/classes/handler/chunks/class_ChunkHandler.php
application/hub/classes/helper/connection/class_BaseConnectionHelper.php
application/hub/classes/helper/messages/crypto/class_CryptoRandomUnitMessageHelper.php
application/hub/classes/listener/tcp/class_TcpListener.php
application/hub/classes/listener/udp/class_UdpListener.php
application/hub/classes/lists/pool/class_PoolEntriesList.php
application/hub/classes/miner/chash/class_HubCoinMiner.php
application/hub/classes/nodes/boot/class_HubBootNode.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/package/assembler/class_PackageAssembler.php
application/hub/classes/package/class_NetworkPackage.php
application/hub/classes/package/fragmenter/class_PackageFragmenter.php
application/hub/classes/pools/listener/class_DefaultListenerPool.php
application/hub/classes/producer/cruncher/keys/class_CruncherKeyProducer.php
application/hub/classes/producer/cruncher/work_units/class_CruncherTestUnitProducer.php
application/hub/classes/producer/miner/blocks/class_MinerRealGenesisBlockProducer.php
application/hub/classes/recipient/dht/class_DhtRecipient.php
application/hub/classes/registry/socket/class_SocketRegistry.php
application/hub/classes/resolver/protocol/tcp/class_TcpProtocolResolver.php
application/hub/classes/resolver/state/class_BaseStateResolver.php
application/hub/classes/source/units/class_TestUnitSource.php
application/hub/classes/source/urls/class_CrawlerUploadedListUrlSource.php
application/hub/classes/tasks/crawler/class_BaseUrlSourceTask.php
application/hub/classes/tasks/crawler/scanner/uploaded_list/class_CrawlerUploadedListScannerTask.php

index 839a82b66c8804d491e97d22c5cbfc959e312fe0..fec4574619586080e500dcde2fa664a328dabf4a 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 43e94f0987f27989ffe8f0b4526a660f6c4defd6..ecfc236a8f6df6439dbaf0d47b90a646d245f5ec 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 4bafac6d0deedd9692f5cf4d23a9d4033f2aab69..713662ef6e748a642f954c2c9b51504d4cdd89a1 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index b8da2bc15acd9f7e5a8a2929eacfebb7be716722..87689b593f877812d6b35e83b93b4167f8481b68 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index db9deed0ecb6839bb6e7d1e9f4fb714fd9976b52..2d4ac91a4726e5d51921e71d0e0b15e8893b0092 100644 (file)
@@ -8,6 +8,7 @@ use Hub\Factory\Node\NodeObjectFactory;
 // Import framework stuff
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Controller\Controller;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
index 9e0d72f4ae909d2841f4ed46c132dcc8468a5211..6e73dc9eaea9ff7a64b5f15b3dee193f7b37c6d8 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 82efd47fb8c1d115820b1af9f01f0b5f0f1418ac..95f04f9013933b20fb1142bcecf310cfd1fbb0e1 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Command;
 use CoreFramework\Command\BaseCommand;
 use CoreFramework\Command\Commandable;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 32c98b6c86aac32e8aab73db7ce0ef0b1e54e91c..7786a60d3e137b3e05abcdb5c56faae2c7f2e3e4 100644 (file)
@@ -5,6 +5,7 @@ namespace Hub\Controller;
 // Import framework stuff
 use CoreFramework\Controller\BaseController;
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Resolver\Command\CommandResolver;
 use CoreFramework\Response\Responseable;
index 600d6babccbd7e22e56f25639f867e40c6b82433..c35977bbe9978dd999d53fe3f6cd2c584a2163cd 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Cruncher\Mcrypt;
 
 // Import framework stuff
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Response\Responseable;
 
 /**
index 9beb9001814877ca441439456fd27dd9e70d3103..eefacad0b40671acd058df815a090f203fe5057c 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Database\Frontend\Cruncher\Unit;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A database wrapper for cruncher work/test units
  *
index 7e074d925be4e0b41d1312443625ff55483d7913..24232404bf16f1b40ac52d3aff3a11823b7abd5b 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Database\Frontend\Node\Dht;
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A database wrapper for distributed hash tables
  *
index 4aa5d467d7157d3df4d7c0def18438f6e9baed98..c105b7c1bd570cd0e231d403bf08a2baa3e33780 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Database\Frontend\Node\Information;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 
 /**
index 2b26a84b3987af4bc24092a83869d00fd565423a..a7bbe4e825f410877a4d380546d14d4910c0508b 100644 (file)
@@ -2,9 +2,12 @@
 // Own namespace
 namespace Hub\Database\Frontend\Node\PeerState;
 
-// Import hub-specific sutff
+// Import application-specific sutff
 use Hub\Tools\HubTools;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A database wrapper for peer state lookups
  *
index 72b2b161c38347ba9ad1696459f3556c4e9f6713..e8f1a2420cb9a94e06ddf7d0cf00dd84cdb23070 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Node\Dht;
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A Node DHT facade class
  *
index 9cd32b50e0eae5ad12d396d8cdc8abd02192431e..755787506715bbdc6bc3cbb15a44caf4b1231336 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\FilterChain\Package;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for network packages
  *
index 3cda26f3d04b8b75570d7a1d0d76f7d2a915f3cf..d9242cf4477ea8d472755a60b311fb7781d9f9d5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Handler\Chunk;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for chunk handler
  *
index 8a7ba8aa7e671522aea39d029356e88a56159a8d..47cbfcde06a6fba8193d43ab572c7e5a3da8722b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Communicator;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for communicator
  *
index 7125c6a9fc412d91891ffdb62205a24fb12975eb..1fb21442a70fe45a8317a0c273b07fa955732c3d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Decoder;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for Decodeable objects
  *
index ef5725663a78ab2168662610cfbc2727f814c460..7b595eeaf9945cbab80e1713ab114746c9b1a2fa 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Discovery\Package;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for package discovery
  *
index 6991c7fa5f499c94864bd8de9ae8572d33c9c754..a1a634f8ac8c621540d79ba1e3add59af9fb4a1c 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Discovery\Socket;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for socket discovery
  *
index ce750231f544cc98ac15ceaec0360b30ec676a58..157b877de5cf0e4c3d7be8a2fe9d0b19a6ddc71b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Handler\Message;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for message type handlers
  *
index 880f889bf700c895acf6b0cdc86308b62a578677..c10bb85b116f7eb371ca8088d6095aa0bf7a883e 100644 (file)
@@ -1,4 +1,9 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Handler\Protocol;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 /**
  * A factory class for protocol handlers
  *
index fde9a37dfa90f8285188bdb2fd4e42d70c4ce3a8..3871f6dc470cd93dc8586b7de27c0f90267222da 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Connection;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for ShareableInfo
  *
index c94b18c83cd67b1b7c7d20e6b3d295de409f7a73..11dae1ff2d3f473fa529e7695fd381387bf33ea8 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\List\Recipient;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for recipient lists
  *
index 4fd26c8de5c8de1bea6147436d90e7b49528a8f1..146896c0c1029b78b61299a7ef6fcb1322dd7d41 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Factory\Node;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 43bccf4668a39ba0edc834af2792d1295839d689..e7306ad102193df319cc7b8604cbcbf7c1d4a986 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Assembler\Package;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for package assembler
  *
index 725c6768b6f32d4bd14b43e6619ee844b7a329d1..ac2f793e3911aad83b6d35be591e4ae889c99c2e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Network;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for network packages
  *
index 53ccc271afe9395a6c3862dbfcacb84021d4aa7e..7d8d26635e5f460f4cc5204ce06cf8a84b3d44af 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Fragmenter;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for fragmenter
  *
index 91a6f9b1ee3d921363ccde3a856bdcf03f71c200..7b3720086fb702ffc2838ceac0bf4e5802540fcf 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Producer;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for producer
  *
index 23dae6b514d28b8aad8189908ee16e606dc492bc..72b3e38eacc043739ccd0bad6637d2035be284d3 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Registry\Object;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for network packages
  *
index 2e9b07ef2a420f86ea7182af1d7fcb0130e83e55..ca5ccf636029426fb5446b74b4ee675b56f6fd8a 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Factory\Resolver;
 
 // Import framework stuff
 use CoreFramework\Configuration\FrameworkConfiguration;
+use CoreFramework\Factory\ObjectFactory;
 
 /**
  * A factory class for ProtocolResolver
index d6f0129f250124793c566e24a6eb80b59c8a825a..87d1c614d69d93383900d33517eb772d81b62d8d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Scanner;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for scanners
  *
index ec1c9c22a6eb49722b3ce0630179857fdad9a1e0..fcf4f499df26bbc40702fe4a33b3b1e1d1df0498 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Factory\Socket;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Configuration\FrameworkConfiguration;
 
 /**
index dcb967c1b2a5792b255dae95f78b7ecd556556f5..837dc522470b2422aed6c495bd68cab9116700b2 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Source\Unit;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for unit sources
  *
index fe2025fabff02c4b06ce974585ffb54afd7ab687..fed603d29f115e88b4690a0cda87f62c2f1c8c20 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Source\Url;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for URL sources
  *
@@ -57,7 +63,7 @@ class UrlSourceObjectFactory extends ObjectFactory {
                        $sourceInstance = Registry::getRegistry()->getInstance('source_' . $sourceType);
                } else {
                        // Get the source instance
-                       $sourceInstance = ObjectFactory::createObjectByConfiguredName($sourceType . '_class');
+                       $sourceInstance = self::createObjectByConfiguredName($sourceType . '_class');
 
                        // Add it to the registry
                        Registry::getRegistry()->addInstance('source_' . $sourceType, $sourceInstance);
index 6cdfc6a76528cbb25ab097f99ea46904e377e060..affed62bd809a0b54552216b7acab94da5fbc450 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Communicator;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for communicator states
  *
index e1ee18e3b9542377512b29016d69b3322ad1b4d0..2cee0ad997d4453b1034c518db128499af2d7a0f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Crawler;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for crawler states
  *
index eac13d2e23c0d0f1bb2d4bd41e1eee023b3fa6e8..399ead21b064620ff63104817ec0c078941fdb69 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Cruncher;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for cruncher states
  *
index 0d786bd806e7b97eae5c0846a43166ca859611f3..b940aafd3dc351f057b0cedfe33ad8b073142530 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Dht;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for DHT states
  *
index 068a0a756ccb2a2d6f67e3f5218739abf5940148..0c3b620e64c17d3da0a430163fcb9aaa8a44774a 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Miner;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for miner states
  *
index 4224bf70b43cf7bce2b79dc2f9c4aadf209c312b..71e5b7c3f3982fda677f99ca2b4eb29c6affb937 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Factory\State\Node;
 // Import application-specific stuff
 use Hub\Factory\Node\NodeObjectFactory;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for node states
  *
index 2c92398774895d65682bdb936c568311566cd5f6..fdfb7fdf855041f45bdea3c98069325151f99666 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\State\Peer;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for peer states
  *
index 1fde988bf875cd8ee0ce1f600b926a1a3cd525e7..f7ad8436a71b7129213ec4e7808c6fea1859f60f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Factory\Tag\Package;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A factory class for network packages
  *
index 873acc51cbfd835f36ce5e22f4b591a612ce4a44..ba0551678f3d4f93c36f59c76ab1ffed77699257 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Activation\Node\Announcement;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 56a94c4992624dc42074ede096a38fac281c0313..580433292d6d06fe51395770af9efde3c8a590dd 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\AptProxy\Filter\Initialization;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 90f7a4d631a21e09e6bbcba341879be999ebd27f..a8ec86e1e99f9217e2a88e6af95a4fe73ace654c 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Chat\Filter\Initialization;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index e6c379f126820849662e839376c9b6c345905156..6a94fa42b7d6a24e647497a9cd9db5cd29d5458a 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Crawler\Filter\Initialization;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index dfc11fda9b5dc6485b97e466dd35bb3542c75ee1..6a61ca8881f50c9eb4d1ee9a0e2b4d7ad100ba2f 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Cruncher\Filter\Initialization;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 0d39e7935486cdfed64f5e4235bd6d21c4bd1f74..e36e35038a3cf2620dac930d191bcd3dbe3ca049 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Miner\Filter\Initialization;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index f92467a9d7bbc7422e5d13fd01287e7e888a860c..ad42e61d93e356fdd18e990c43ce3856282f0b0e 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Initializer\AptProxy\Handler\Task;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index be8fb65cd85d7edfc01f9a8b9a40d0590baa4947..2a61aaf4d8fb1d2061ee73c6ebdb8eb0af6b53da 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Initializer\Chat\Handler\Task;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 0e41a78227505b65aae25c7e30d83a129cbd860b..c85134eed6fe4a04e4b771cd47eecdc95f453851 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Initializer\Crawler\Handler\Task;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 4eb9bd55de6748dd49361cf9539b893cc291c774..a852aa2b07cd4d864581706e0384891d98e7bbcb 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Initializer\Cruncher\Handler\Task;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index edba04f69d62d109cfba9bee0dab3944f80670f2..37098f5ba2ed6af491e5b8069ed287e965370cf4 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Filter\Initializer\Miner\Handler\Task;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index ba0fc32385d58117f27057fccd1c3f93f0ad0bef..6458bedb0ce56641af6e126450b08c226f7f852d 100644 (file)
@@ -6,6 +6,7 @@ namespace Hub\Filter\Initializer\Node\Handler\Task;
 use Hub\Factory\Node\NodeObjectFactory;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 use CoreFramework\Response\Responseable;
 
index 5afb9c91e5754c920fa5dbc258811bdea887a0f0..7ecde3826fb4437cbff6c3b35d83729940c1b3f3 100644 (file)
@@ -1,4 +1,13 @@
 <?php
+// Own namespace
+namespace Hub\Handler\Chunk;
+
+// Import application-specific stuff
+use Hub\Factory\Fragmenter\FragmenterFactory;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A Chunk handler
  *
index a40d1508c009988cfe0331dbacd6d7f69f9d536d..b9c4ac42b110b2bd25f0bfc8bfab1cb7331f7431 100644 (file)
@@ -1,4 +1,13 @@
 <?php
+// Own namespace
+namespace Hub\Helper\Connection;
+
+// Import application-specific stuff
+use Hub\Factory\Fragmenter\FragmenterFactory;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A general ConnectionHelper class
  *
index b91e729e01ec6b39f15bc42817287fd7fec01c2f..f345ca7d83e326d60ccde2ca82a2214aa330d0af 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Helper\Crypto\Message\RandomUnit;
+
+// Import application-specific stuff
+use Hub\Factory\Source\Unit\UnitSourceFactory;
+
 /**
  * A CryptoRandom message helper
  *
index 73d4b708998cb535ecd49440ec5f1ce4351eec54..98606282eefcf717f437ebc6cd242d54201eb97d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Listener\Tcp;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A TCP connection listener
  *
index 91f97688932f7d26279b4b803e447628280b740a..95e184e88a12f4db2c28817390a16d1ed6d9aad4 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Listener\Udp;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * An UDP connection listener
  *
index 41e29f8b6463900330c29422382b475ab377930c..3b19329fae5c4426b0b75734caeccfef9385049f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\List\Pool;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A list for pool entries
  *
index f35f8692662fd86565109fc348ea0748296ec4b9..3b3c679913a1fcaf55997ef68ec06283398c4f7f 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Miner;
 
 // Import framework stuff
 use CoreFramework\Controller\Controller;
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Response\Responseable;
 
 /**
index 4912b2e1fc0f6e97be16fa425ad80955560cb081..42e3ff3349442e8f863e16a127e4ea7f06e49cb3 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Boot;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 
 /**
index 27311aa8742787587d11c5bbd0505a62536e8231..7964998c41df10a6e82cf7062dd6b4b3e3964efe 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Backup;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 
 /**
index 80c5f718813d24217720acea01baee9d6d8220ee..0cff9553890034a85298bc032fc75ac31634b602 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Master;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 
 /**
index c61741f75ac69e82443da37948169e9e30aa8b7c..0ed0498ebe531afcd456342cf35f7ebe44a60ea7 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Node\Regular;
 
 // Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Request\Requestable;
 
 /**
index c1b21928ff8bbc6b07315fb28c87d97ea8de7120..1563d506806b96ad35d99132f7cc861f6261396a 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Network\Package\Assembler;
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A PackageAssembler class to assemble a package content stream fragemented
  * by PackageFragmenter back to a raw package data array.
index 97cd6b1a833fcaf02c889ea6d0c7a5d5fe88557f..281dc1c88003e8d3aae8b0b7db68acd0101e26f3 100644 (file)
@@ -3,6 +3,7 @@
 namespace Hub\Network\Package;
 
 // Import application-specific stuff
+use Hub\Factory\Assembler\Package\PackageAssemblerFactory;
 use Hub\Factory\Dht\DhtObjectFactory;
 use Hub\Factory\Node\NodeObjectFactory;
 use Hub\Generic\BaseHubSystem;
index f98f191bf4b86c8c4861e01d69bb91d58cdb352c..cba3ca140eadd6901ef854fb2237804aa2914439 100644 (file)
@@ -5,6 +5,9 @@ namespace Hub\Network\Package\Fragment;
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
 
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A PackageFragmenter class to fragment package data into smaller chunks for
  * delivery. This class calculates a final hash on the raw input data and
index cd9016fc980f503dc76e50f8ccddeaa27c4ca294..80b0ca2b4bb2653d6b74035235d265fe2d5f003f 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Pool\Listener;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A default listener pool
  *
index 7099f01fa9f98ccaeac533ad19a6a856c222dd8c..63eb4b3b422088b66e033e418eca43f645a0df18 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Producer\Cruncher\Key;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A CruncherKey producer class
  *
index 38ab0d81b223947eb99e46eff9f47832c04436f0..2ebf8dd9bec6aaa3e89d0e0937ad6af39e494820 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Cruncher\Producer\Unit;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A CruncherTestUnit producer class
  *
index 0abd16c37327ba16defdc78ac7dc508bf0e2e59d..05cb3c8c86ce1e6421c0f0d14cf06dc97e3451a7 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Miner\Producer\Block\Genesis;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A MinerRealGenesisBlock producer class
  *
index 2160cf80a000699d3a8e07a34617b025be275c3b..44025f3c979e11f477d8186e1b76b36bfe161036 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Recipient\Dht;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A DHT recipient
  *
index fc138573d7041b6b5bb09f0ffeab5d7bdf9963cc..ab51e5ec5c1221e65da74cd8eae51e803f194b56 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Registry\Socket;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A Socket registry
  *
index a7f79e98cc8c40bb7547a1a84b778d3bea17d455..ae1b5df8c46e9293493a43463309d855d4ff59b6 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Resolver\Protocol\Tcp;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A TCP protocol resolver class
  *
index 8744b71560d698236159d83a38fd53bdadfeb422..0d94727045bbed16b3aedce43623ef78aebd1ed5 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Resolver\State;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A generic state resolver class
  *
index eef01ff2abb6e396f35de8dd8781f81b89b1c127..87263d7170522cc13d571bc51c45c8f98fec82de 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Source\Unit;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A TestUnit source class
  *
index c6cfc318fc107cb2c0c4609ac4887c94b0c68728..7c0ee3ceb78c1adb8ad1daac03469388ebfb57ec 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Crawler\Source\Url\UploadList;
+
+// Import framework stuff
+use CoreFramework\Factory\ObjectFactory;
+
 /**
  * A UploadedList URL source class for crawlers
  *
index 9399ae89c225bdc2279b1ca15d06b475fa877aa0..aef7b719aa2652881a60712fef19ed63fdfb0a7a 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Task\Source\Url;
+
+// Import application-specific stuff
+use Hub\Source\Url\UrlSourceObjectFactory;
+
 /**
  * A general URL source Task
  *
index 773838b374e35e546acf8db78270b58fe96351dc..b346cf7cbfc36f24094ffb5fe49e019b000c814d 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Task\Crawler\Scanner\UploadedList;
+
+// Import application-specific stuff
+use Hub\Factory\Scanner\ScannerObjectFactory;
+
 /**
  * A UploadedList scanner task for crawlers
  *