From db70d9c2934d2514f8cfd4d15132970d5f0b8216 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Thu, 18 May 2017 23:09:58 +0200 Subject: [PATCH] Next wave: - imported HubTools - created more namespaces (please check spelling of recipient/receipt!) MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- application/hub/class_ApplicationHelper.php | 3 +++ .../states/class_PeerStateLookupDatabaseWrapper.php | 6 ++++++ .../recipient/package/class_PackageRecipientDiscovery.php | 6 ++++++ .../classes/handler/protocol/class_BaseProtocolHandler.php | 6 ++++++ .../connection/ipv4/tcp/class_TcpConnectionHelper.php | 6 ++++++ application/hub/classes/nodes/class_BaseHubNode.php | 1 + application/hub/classes/package/class_NetworkPackage.php | 1 + .../hub/classes/recipient/direct/class_DirectRecipient.php | 6 ++++++ .../hub/classes/recipient/self/class_SelfRecipient.php | 6 ++++++ 9 files changed, 41 insertions(+) diff --git a/application/hub/class_ApplicationHelper.php b/application/hub/class_ApplicationHelper.php index 921e80961..c5ef21200 100644 --- a/application/hub/class_ApplicationHelper.php +++ b/application/hub/class_ApplicationHelper.php @@ -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; diff --git a/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php b/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php index e147e1618..fb40f36ea 100644 --- a/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/states/class_PeerStateLookupDatabaseWrapper.php @@ -1,4 +1,10 @@