From a00ac85d2aed938ac6405611f8bbff453ed3f46b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 15:41:21 +0200 Subject: [PATCH] Swapped namespaces: - it is an interface for a helper, not for a node MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- .../frontend/node/class_NodeInformationDatabaseWrapper.php | 2 +- .../discovery/node/class_UniversalNodeLocatorDiscovery.php | 2 +- .../classes/factories/states/node/class_NodeStateFactory.php | 2 +- application/hub/classes/handler/network/tcp/class_ | 2 +- .../helper/node/announcement/class_NodeAnnouncementHelper.php | 2 +- .../class_NodeAnnouncementMessageAnswerHelper.php | 2 +- .../answer/dht/class_NodeDhtBootstrapMessageAnswerHelper.php | 2 +- .../requests/class_NodeRequestNodeListMessageAnswerHelper.php | 2 +- application/hub/classes/helper/node/class_ | 2 +- application/hub/classes/helper/node/class_BaseNodeHelper.php | 2 +- .../helper/node/connection/class_NodeSelfConnectHelper.php | 2 +- .../helper/node/requests/class_NodeRequestNodeListHelper.php | 2 +- application/hub/classes/listener/tcp/class_ | 2 +- application/hub/classes/listener/udp/class_ | 2 +- application/hub/classes/nodes/boot/class_HubBootNode.php | 2 +- application/hub/classes/nodes/class_ | 2 +- application/hub/classes/nodes/list/class_HubListNode.php | 2 +- application/hub/classes/nodes/master/class_HubMasterNode.php | 2 +- .../hub/classes/nodes/regular/class_HubRegularNode.php | 2 +- .../hub/classes/pools/listener/class_DefaultListenerPool.php | 2 +- application/hub/classes/resolver/protocol/class_ | 2 +- .../resolver/protocol/tcp/class_TcpProtocolResolver.php | 3 ++- application/hub/classes/states/node/class_ | 2 +- .../discovery/unl/class_DiscoverableUniversalNodeLocator.php | 2 +- application/hub/interfaces/helper/node/class_HelpableNode.php | 4 ++-- application/hub/interfaces/helper/nodes/class_NodeHelper.php | 2 +- .../hub/interfaces/resolver/class_ProtocolResolver.php | 2 +- 27 files changed, 29 insertions(+), 28 deletions(-) diff --git a/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php b/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php index 0f85e0211..e8c0d4ec1 100644 --- a/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php +++ b/application/hub/classes/database/frontend/node/class_NodeInformationDatabaseWrapper.php @@ -5,7 +5,7 @@ namespace Hub\Database\Frontend\Node\Information; // Import application-specific stuff use Hub\Database\Frontend\Node\NodeInformationWrapper; use Hub\Node\BaseHubNode; -use Hub\Node\Helper\NodeHelper; +use Hub\Helper\Node\NodeHelper; // Import framework stuff use CoreFramework\Criteria\Local\LocalSearchCriteria; diff --git a/application/hub/classes/discovery/node/class_UniversalNodeLocatorDiscovery.php b/application/hub/classes/discovery/node/class_UniversalNodeLocatorDiscovery.php index 98841440c..d11b0bfd4 100644 --- a/application/hub/classes/discovery/node/class_UniversalNodeLocatorDiscovery.php +++ b/application/hub/classes/discovery/node/class_UniversalNodeLocatorDiscovery.php @@ -3,7 +3,7 @@ namespace Hub\Disovery\Locator; // Import application-specific stuff -use Hub\Node\Helper\NodeHelper; +use Hub\Helper\Node\NodeHelper; // Import framework stuff use CoreFramework\Registry\Registerable; diff --git a/application/hub/classes/factories/states/node/class_NodeStateFactory.php b/application/hub/classes/factories/states/node/class_NodeStateFactory.php index 53e5799fd..c642d6dac 100644 --- a/application/hub/classes/factories/states/node/class_NodeStateFactory.php +++ b/application/hub/classes/factories/states/node/class_NodeStateFactory.php @@ -4,7 +4,7 @@ namespace Hub\Factory\State\Node; // Import application-specific stuff use Hub\Factory\Node\NodeObjectFactory; -use Hub\Node\Helper\NodeHelper; +use Hub\Helper\Node\NodeHelper; // Import framework stuff use CoreFramework\Factory\ObjectFactory; diff --git a/application/hub/classes/handler/network/tcp/class_ b/application/hub/classes/handler/network/tcp/class_ index 01f54a849..d0fb638b4 100644 --- a/application/hub/classes/handler/network/tcp/class_ +++ b/application/hub/classes/handler/network/tcp/class_ @@ -136,7 +136,7 @@ socket_close($mainSocket); namespace Hub\Listener\; // Import application-specific stuff -use Hub\Node\Helper\NodeHelper; +use Hub\Helper\Node\NodeHelper;