]> git.mxchange.org Git - hub.git/commitdiff
Next wave:
authorRoland Häder <roland@mxchange.org>
Thu, 18 May 2017 21:09:58 +0000 (23:09 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:49:56 +0000 (18:49 +0200)
- imported HubTools
- created more namespaces (please check spelling of recipient/receipt!)

Signed-off-by: Roland Häder <roland@mxchange.org>
application/hub/class_ApplicationHelper.php
application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php
application/hub/classes/discovery/recipient/package/class_PackageRecipientDiscovery.php
application/hub/classes/handler/protocol/class_BaseProtocolHandler.php
application/hub/classes/helper/connection/ipv4/tcp/class_TcpConnectionHelper.php
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/package/class_NetworkPackage.php
application/hub/classes/recipient/direct/class_DirectRecipient.php
application/hub/classes/recipient/self/class_SelfRecipient.php

index 921e80961975587629633356afa86c94e74b480a..c5ef212009b98851b51121a76cdc647981288fbf 100644 (file)
@@ -2,6 +2,9 @@
 // Must be this namespace, else the launcher cannot find the class.
 namespace CoreFramework\Helper\Application;
 
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 // Import framework stuff
 use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Configuration\FrameworkConfiguration;
index e147e1618f959f17b4150c36dd0d78687e3522fe..fb40f36ea7f85edb33acf8c9fb808f478c67071e 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Database\Frontend\PeerState;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A database wrapper for peer state lookups
  *
index 72e8794004483b9de45848c955d72e877a53455d..1ccacca4c8ca29b5f85c11e2cf1a07109380add9 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Discovery\Network\Recipient;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A PackageRecipient discovery class
  *
index cf085db5720265655f5225733bd83357c5b6b378..fba651e75e199e0b26a4b57b1a84daa08d61f065 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Handler\Protocol;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A general handler for protocols such as TCP, UDP and others.
  *
index 7ef993c2593a3c7aaea062c3ceec50770ce49738..9ff36c3df770f904f8fc375879fe9f62264747d2 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Helper\Connection\Tcp;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A TCP connection helper class
  *
index d4a50d02ad887c55cc81edc6f352d27744348d3d..f58fa3f680c7a0f790c418493b8ef6f4034587f5 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Node;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
+use Hub\Tools\HubTools;
 
 // Import framework stuff
 use CoreFramework\Object\BaseFrameworkSystem;
index 4d753b1119565ceebdba3d124dfff183718737d1..1b75aa984c729ef0bb138c6a1f6779fef4e851e8 100644 (file)
@@ -4,6 +4,7 @@ namespace Hub\Network\Package;
 
 // Import hub-specific stuff
 use Hub\Generic\BaseHubSystem;
+use Hub\Tools\HubTools;
 
 /**
  * A NetworkPackage class. This class implements Deliverable and Receivable
index 2c26a97c1fadf150033a4987e595b94f4df5693e..bd29a5a2d36d3d42affd722e77a7901056f3196b 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Network\Recipient\Direct;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A Direct recipient
  *
index 2f83c757be2ada589df21ee5f712bdca4f6ba2fa..2af6d5769dd4ece034fbb55bcd5a409a2074a291 100644 (file)
@@ -1,4 +1,10 @@
 <?php
+// Own namespace
+namespace Hub\Network\Recipient\Self;
+
+// Import hub-specific sutff
+use Hub\Tools\HubTools;
+
 /**
  * A Self recipient
  *