From: Roland Häder Date: Fri, 19 May 2017 13:28:41 +0000 (+0200) Subject: Next small wave: X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bf6ab854bf1525f7215c75cd05daa727a0744ce7;p=hub.git Next small wave: - imported NodeInformationDatabaseWrapper - added missing namespace in configuration entry Signed-off-by: Roland Häder --- diff --git a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php index 79e850872..bf3c1cb6f 100644 --- a/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/node/class_NodeDistributedHashTableDatabaseWrapper.php @@ -3,6 +3,7 @@ namespace Hub\Database\Frontend\Node\Dht; // Import application-specific stuff +use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper; use Hub\Factory\Node\NodeObjectFactory; use Hub\Node\BaseHubNode; diff --git a/application/hub/classes/nodes/class_BaseHubNode.php b/application/hub/classes/nodes/class_BaseHubNode.php index 3d29d2ab5..b23bf43c5 100644 --- a/application/hub/classes/nodes/class_BaseHubNode.php +++ b/application/hub/classes/nodes/class_BaseHubNode.php @@ -3,6 +3,7 @@ namespace Hub\Node; // Import hub-specific stuff +use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper; use Hub\Generic\BaseHubSystem; use Hub\Network\Receive\Receivable; use Hub\Tools\HubTools; diff --git a/application/hub/classes/resolver/protocol/tcp/class_TcpProtocolResolver.php b/application/hub/classes/resolver/protocol/tcp/class_TcpProtocolResolver.php index 14898a695..29db7ca0d 100644 --- a/application/hub/classes/resolver/protocol/tcp/class_TcpProtocolResolver.php +++ b/application/hub/classes/resolver/protocol/tcp/class_TcpProtocolResolver.php @@ -3,6 +3,7 @@ namespace Hub\Resolver\Protocol\Tcp; // Import application-specific stuff +use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper; use Hub\Node\Helper\NodeHelper; // Import framework stuff diff --git a/application/hub/classes/unl/class_UniversalNodeLocator.php b/application/hub/classes/unl/class_UniversalNodeLocator.php index e558353ba..e44d88276 100644 --- a/application/hub/classes/unl/class_UniversalNodeLocator.php +++ b/application/hub/classes/unl/class_UniversalNodeLocator.php @@ -2,6 +2,9 @@ // Own namespace namespace Hub\Locator\Node; +// Import application-specific stuff +use Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper; + // Import framework stuff use CoreFramework\Object\BaseFrameworkSystem; diff --git a/application/hub/config.php b/application/hub/config.php index aa793c813..1b24f2f01 100644 --- a/application/hub/config.php +++ b/application/hub/config.php @@ -52,7 +52,7 @@ $cfg->setConfigEntry('tpl_engine', 'ConsoleOutput'); $cfg->setConfigEntry('output_class', 'DebugConsoleOutput'); // CFG: NODE-INFO-DB-WRAPPER-CLASS -$cfg->setConfigEntry('node_info_db_wrapper_class', 'NodeInformationDatabaseWrapper'); +$cfg->setConfigEntry('node_info_db_wrapper_class', 'Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper'); // CFG: NODE-DHT-DB-WRAPPER-CLASS $cfg->setConfigEntry('node_dht_db_wrapper_class', 'NodeDistributedHashTableDatabaseWrapper');