]> git.mxchange.org Git - hub.git/commitdiff
Rewrite:
authorRoland Häder <roland@mxchange.org>
Sun, 21 May 2017 13:50:58 +0000 (15:50 +0200)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:05 +0000 (18:50 +0200)
- Listenable now hold StorableSocket is no longer generic, so re-imported it
- updated core framework

Signed-off-by: Roland Häder <roland@mxchange.org>
37 files changed:
application/hub/classes/class_BaseHubSystem.php
application/hub/classes/container/socket/class_SocketContainer.php
application/hub/classes/discovery/recipient/socket/class_PackageSocketDiscovery.php
application/hub/classes/factories/client/class_ClientFactory.php
application/hub/classes/factories/socket/class_SocketFactory.php
application/hub/classes/handler/network/tcp/class_
application/hub/classes/info/connection/class_ConnectionInfo.php
application/hub/classes/listener/class_
application/hub/classes/listener/class_BaseListener.php
application/hub/classes/listener/socket/class_SocketFileListener.php
application/hub/classes/listener/socket/decorator/class_SocketFileListenerDecorator.php
application/hub/classes/listener/tcp/class_
application/hub/classes/listener/tcp/class_TcpListener.php
application/hub/classes/listener/tcp/decorators/class_ClientTcpListenerDecorator.php
application/hub/classes/listener/tcp/decorators/class_HubTcpListenerDecorator.php
application/hub/classes/listener/udp/class_
application/hub/classes/listener/udp/class_UdpListener.php
application/hub/classes/listener/udp/decorators/class_ClientUdpListenerDecorator.php
application/hub/classes/listener/udp/decorators/class_HubUdpListenerDecorator.php
application/hub/classes/pools/class_
application/hub/classes/pools/listener/class_DefaultListenerPool.php
application/hub/classes/pools/peer/class_DefaultPeerPool.php
application/hub/classes/registry/socket/class_SocketRegistry.php
application/hub/classes/tags/package/class_PackageTags.php
application/hub/classes/visitor/pool/monitor/class_RawDataPoolMonitorVisitor.php
application/hub/classes/visitor/pool/shutdown/class_ShutdownListenerPoolVisitor.php
application/hub/classes/visitor/tasks/class_ActiveTaskVisitor.php
application/hub/classes/visitor/tasks/class_ShutdownTaskVisitor.php
application/hub/interfaces/class_HubInterface.php
application/hub/interfaces/listener/.htaccess [new file with mode: 0644]
application/hub/interfaces/listener/class_Listenable.php [new file with mode: 0644]
application/hub/interfaces/pool/listener/class_PoolableListener.php
application/hub/interfaces/registry/socket/class_RegisterableSocket.php
application/hub/interfaces/shareable/info/class_ShareableInfo.php
application/hub/interfaces/tags/class_Tagable.php
application/hub/interfaces/visitor/pool/listener/class_ListenerPoolVisitor.php
core

index 2ffff9cd0fc553140176284e6b81507fdaf234ce..f4faee74d04dd811cf81f3e9d25955eee02950ad 100644 (file)
@@ -7,12 +7,12 @@ use Hub\Handler\Protocol\HandleableProtocol;
 use Hub\Handler\RawData\BaseRawDataHandler;
 use Hub\Information\ShareableInfo;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 use Hub\Network\Deliver\Deliverable;
 use Hub\Network\Receive\Receivable;
 use Hub\Pool\Poolable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Object\BaseFrameworkSystem;
 use CoreFramework\Socket\InvalidSocketException;
 
index 9197e73b19e1f17388c15d2df358c6473a904318..a0907188988849a2f6256f2dd127e5a7881541b7 100644 (file)
@@ -7,12 +7,12 @@ use Hub\Handler\RawData\BaseRawDataHandler;
 use Hub\Helper\Connection\BaseConnectionHelper;
 use Hub\Information\ShareableInfo;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
 use CoreFramework\Container\BaseContainer;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\Socket\InvalidSocketException;
 use CoreFramework\Socket\NoSocketErrorDetectedException;
index 22eb61829c123e4dac8819b4994a3afc22e0cfa4..4d13f8375a96b7b70a5ab0d8430ad07ba11b8a49 100644 (file)
@@ -9,10 +9,10 @@ use Hub\Factory\Socket\SocketFactory;
 use Hub\Generic\BaseHubSystem;
 use Hub\Handler\Protocol\HandleableProtocol;
 use Hub\Helper\Connection\BaseConnectionHelper;
+use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registerable;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Socket\InvalidSocketException;
index d5e9c457b4e3432251d0c44f5639272a83c9380e..734a070d40b31c634d2fa4e1508fe5e5aba2ba44 100644 (file)
@@ -45,7 +45,9 @@ class ClientFactory extends ObjectFactory {
 
        /**
         * Creates a client object for given protocol. This method uses the
-        * registry pattern to cache those instances.
+        * registry pattern to cache those instances. Please note that on an
+        * existing instance, the provided socket instance is being set and
+        * overwrites the existing one.
         *
         * @param       $protocolInstance       An instance of a HandleableProtocol class to create a client object for (e.g. 'http' for a HTTP/1.1 client)
         * @param       $socketInstance         An instance of a StorableSocket class (or NULL)
index 4bec13a894db19b45f04ac3300b24af78b21d353..8262f2ce945242b03b4fafaad1a3a2f0103c4461 100644 (file)
@@ -5,13 +5,13 @@ namespace Hub\Factory\Socket;
 // Import application-specific stuff
 use Hub\Handler\Protocol\HandleableProtocol;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
 use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Configuration\FrameworkConfiguration;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registry;
 use CoreFramework\Socket\InvalidSocketException;
 
index 27e4500874e5e1339241607b8df25d632e784e1f..c09a61e2a4ce3f257b0223a12cf1ae929bb788a2 100644 (file)
@@ -139,9 +139,9 @@ namespace Hub\Listener\;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Visitor\Visitable;
 
 <?php
index 3da29129c2bb02cb7d2829305e314125fafeb660..45c048b16bd75caf80f29f576aca28067f0c2092 100644 (file)
@@ -6,10 +6,10 @@ namespace Hub\Information\Connection;
 use Hub\Helper\Connection\ConnectionHelper;
 use Hub\Information\BaseInfo;
 use Hub\Information\ShareableInfo;
+use Hub\Listener\Listenable;
 use Hub\Locator\Node\LocateableNode;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registerable;
 
 /**
index 7c08a81c7e1ecfbe42e083f18e733513d1d67a95..6aaf16f48f649080324c06d13d3ed16d674db083 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\!!!;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A ??? listener
index 6686c61282b3d21957878102857a4eca35bc4153..b2e5e7ffec648a8d7cff4a10ecbbd1bcbbb5f729 100644 (file)
@@ -71,6 +71,11 @@ class BaseListener extends BaseHubSystem implements Visitable {
         */
        private $poolInstance = NULL;
 
+       /**
+        * A StorableSocket instance
+        */
+       private $socketInstance = NULL;
+
        /**
         * Protected constructor
         *
@@ -421,4 +426,23 @@ class BaseListener extends BaseHubSystem implements Visitable {
                $this->getIteratorInstance()->next();
        }
 
+       /**
+        * Setter for socket instance
+        *
+        * @param       $socketInstance A StorableSocket instance
+        * @return      void
+        */
+       public final function setSocketInstance (StorableSocket $socketInstance) {
+               $this->socketInstance = $socketInstance;
+       }
+
+       /**
+        * Getter for socket instance
+        *
+        * @return      $socketInstance An instance of a StorableSocket class
+        */
+       public final function getSocketInstance () {
+               return $this->socketInstance;
+       }
+
 }
index e939c9f82d24494f01d6fe684604705c003e470f..82392497755206ac62d598de0ec03c4684007a20 100644 (file)
@@ -6,11 +6,11 @@ namespace Hub\Listener\Socket;
 use Hub\Factory\Socket\SocketFactory;
 use Hub\Helper\Connection\BaseConnectionHelper;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
 use CoreFramework\Bootstrap\FrameworkBootstrap;
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 
 /**
  * A file-based socket listener
index 8287aa9d270b3feb310899d0e7a8294c53ee64a1..eec70ec0c81d99bf0f4f2f80df246e02bb2068e6 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\Socket;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListenerDecorator;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A decorator for the SocketFileListener to communicate to hubs
index 2f677801630dda21e9b15d927974ef7a3b991982..1bca41f6f7fe5344fb1b037976df6df01841651f 100644 (file)
@@ -138,9 +138,9 @@ namespace Hub\Listener\Tcp\;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Visitor\Visitable;
 
 <?php
index 83b003087f38b16ecfdbb87098259b9c2e01a939..58c9021723aa08423aa8f7760717f5b96b1f175e 100644 (file)
@@ -5,11 +5,11 @@ namespace Hub\Listener\Tcp;
 // Import application-specific stuff
 use Hub\Helper\Connection\BaseConnectionHelper;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
 use CoreFramework\Generic\UnsupportedOperationException;
-use CoreFramework\Listener\Listenable;
 
 /**
  * A TCP connection listener
index fc41766429924b876e80f73546afb4958597df18..68411d45a34ef2b51cdcc5d78000f072a64178bc 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\Client\Tcp;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListenerDecorator;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A decorator for the TcpListener to communicate to peers
index 30324a6b7d07a9fea55a6a9e2c2171bc7456bb16..e8bf04c30845a1fd345f00b5bca98a85e797c177 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\Hub\Tcp;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListenerDecorator;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A decorator for the TcpListener to communicate to hubs
index c14d4b227285de0e0dd183873d25d117d3ba9a53..4764ba5ee8122cff6ac85b9b2bfe6364f91c8eca 100644 (file)
@@ -5,9 +5,9 @@ namespace Hub\Listener\Udp\;
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * An UDP ??? listener
index 697f0c82d66adf8814a2e2ee6301165110732d1c..e31de1d4ccb5b6fcaf96a3efa3afafb3d0a8f1ce 100644 (file)
@@ -4,10 +4,10 @@ namespace Hub\Listener\Udp;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 
 /**
  * An UDP connection listener
index 893349305531d4567ac34a38b61c72d57f19b7d8..0caf52c0b72aa798ad02f26b5ea4f6262c7ce5dc 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\Client\Udp;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListenerDecorator;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A decorator for the UdpListener to communicate to peers
index e5f7727449baff6a5393ef51a25c5cbdb5b0c349..a6621dbbdc3868dbe05cfe976ff03688397f6cb4 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Listener\Hub\Udp;
 
 // Import application-specific stuff
 use Hub\Listener\BaseListenerDecorator;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A decorator for the UdpListener to communicate to hubs
index 5b77ee0d8684deb793eb953407a7b78f541250c8..365c91c4e1364d25b8521de1f386604f2ef23c95 100644 (file)
@@ -3,11 +3,11 @@
 namespace Hub\Pool\;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Pool\BasePool;
 use Hub\Pool\Poolable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * 
index 21a82997d001789bdfda410b21acf67bda4944fe..a44658925c31c1093edd2bab56214c74bd8c1cb7 100644 (file)
@@ -4,12 +4,12 @@ namespace Hub\Pool\Listener;
 
 // Import application-specific stuff
 use Hub\Helper\Node\NodeHelper;
+use Hub\Listener\Listenable;
 use Hub\Pool\BasePool;
 use Hub\Pool\Listener\PoolableListener;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 
 /**
  * A default listener pool
index b5ee6eb7bc4ef1b9f9d689409e5b1cf30b7efdc4..74ec3123ed49eca2a448295bd8f0f4cde0a35484 100644 (file)
@@ -4,13 +4,13 @@ namespace Hub\Pool\Peer;
 
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
+use Hub\Listener\Listenable;
 use Hub\Locator\Node\LocateableNode;
 use Hub\Network\Package\NetworkPackage;
 use Hub\Pool\BasePool;
 use Hub\Pool\Peer\PoolablePeer;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Socket\InvalidSocketException;
 
 /**
index 0b61576b18fff98a4bc6e6cc350cd50ef03599a0..01ca7cede108fed346887f4345e50b2e4db0b6e0 100644 (file)
@@ -7,12 +7,12 @@ use Hub\Container\Socket\StorableSocket;
 use Hub\Factory\Information\Connection\ConnectionInfoFactory;
 use Hub\Information\ShareableInfo;
 use Hub\Listener\BaseListener;
+use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
 use Hub\Registry\Socket\RegisterableSocket;
 
 // Import framework stuff
 use CoreFramework\Factory\ObjectFactory;
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\BaseRegistry;
 use CoreFramework\Registry\Register;
 use CoreFramework\Registry\Sub\SubRegistry;
index f1e67b1fef99da6ff63256c02d8c90d10020293d..de14f82339eed0738ffcb29e02c04de4e8fb3e35 100644 (file)
@@ -3,10 +3,10 @@
 namespace Hub\Tag\Network;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Network\Package\NetworkPackage;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registry;
 
 /**
index d044ae8ac4d1a41a377c7077bc2c6e03ae6c3b58..4e76858bc8bcd27859cb0112fb6caf66c590bb56 100644 (file)
@@ -3,11 +3,11 @@
 namespace Hub\Visitor\Monitor\Pool;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Network\Receive\Receivable;
 use Hub\Pool\Poolable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Visitor\BaseVisitor;
 
 /**
index bd76fe8163f2c4488f675fdb82ea87db9131c29c..2d294692335e5a5454ef22cd154878afb60750af 100644 (file)
@@ -3,10 +3,10 @@
 namespace Hub\Visitor\Pool\Listener;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Pool\Poolable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Visitor\BaseVisitor;
 
 /**
index d2c1989c09c7d38482d58d3493c7013199c9faff..49d851f5cad7919c8e5808a4cca7d013b89cb769 100644 (file)
@@ -3,12 +3,12 @@
 namespace Hub\Visitor\Task\Active;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Pool\Poolable;
 use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Generic\BaseDecorator;
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Task\Taskable;
 use CoreFramework\Visitor\BaseVisitor;
 use CoreFramework\Visitor\Decorator\DecoratorVisitor;
index 6b9b0621f846d59b49fe1139718d8d1cb054e4a7..01a548ec387cb5f12ebec3c7008b8e6c4fbdfd79 100644 (file)
@@ -3,12 +3,12 @@
 namespace Hub\Visitor\Task\Shutdown;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Pool\Poolable;
 use Hub\Visitor\Pool\PoolVisitor;
 
 // Import framework stuff
 use CoreFramework\Generic\BaseDecorator;
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Task\Taskable;
 use CoreFramework\Visitor\BaseVisitor;
 use CoreFramework\Visitor\Decorator\DecoratorVisitor;
index 9ba4ce7186031c1c3a2fd4f46c52dd8b3ffd835c..c3d57988451142aa23acc1e584bf37e2832bc52b 100644 (file)
@@ -82,4 +82,19 @@ interface HubInterface extends FrameworkInterface {
         */
        function getSessionId ();
 
+       /**
+        * Setter for socket instance
+        *
+        * @param       $socketInstance A StorableSocket instance
+        * @return      void
+        */
+       function setSocketInstance (StorableSocket $socketInstance);
+
+       /**
+        * Getter for socket instance
+        *
+        * @return      $socketInstance An instance of a StorableSocket class
+        */
+       function getSocketInstance ();
+
 }
diff --git a/application/hub/interfaces/listener/.htaccess b/application/hub/interfaces/listener/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/interfaces/listener/class_Listenable.php b/application/hub/interfaces/listener/class_Listenable.php
new file mode 100644 (file)
index 0000000..5e6c974
--- /dev/null
@@ -0,0 +1,89 @@
+<?php
+// Own namespace
+namespace Hub\Listener;
+
+// Import application-specific stuff
+use Hub\Generic\HubInterface;
+
+/**
+ * An interface for listeners
+ *
+ * @author             Roland Haeder <webmaster@shipsimu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2017 Hub Developer Team
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.shipsimu.org
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+interface Listenable extends HubInterface {
+       /**
+        * Initializes the listener by setting up the required socket server
+        *
+        * @return      void
+        */
+       function initListener();
+
+       /**
+        * "Listens" for incoming network packages
+        *
+        * @return      void
+        */
+       function doListen();
+
+       /**
+        * Checks whether the listener would accept the given package data array
+        *
+        * @param       $packageData    Raw package data
+        * @return      $accepts                Whether this listener does accept
+        */
+       function ifListenerAcceptsPackageData (array $packageData);
+
+       /**
+        * Monitors incoming raw data from the handler and transfers it to the
+        * given receiver instance.
+        *
+        * @return      void
+        */
+       function monitorIncomingRawData ();
+
+       /**
+        * Getter for listen address
+        *
+        * @return      $listenAddress  The address this listener should listen on
+        */
+       function getListenAddress ();
+
+       /**
+        * Getter for listen port
+        *
+        * @return      $listenPort             The port this listener should listen on
+        */
+       function getListenPort ();
+
+       /**
+        * Getter for connection type
+        *
+        * @return      $connectionType         Connection type for this listener
+        */
+       function getConnectionType ();
+
+       /**
+        * Getter for peer pool instance
+        *
+        * @return      $poolInstance   The peer pool instance we shall set
+        */
+       function getPoolInstance ();
+
+}
index 114a276599bd5864264f6257716b365384bb098e..d3f1cc69f9e92a266d1cb29adcec9a1c15c03519 100644 (file)
@@ -3,10 +3,10 @@
 namespace Hub\Pool\Listener;
 
 // Import application-specific stuff
+use Hub\Listener\Listenable;
 use Hub\Pool\Poolable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * A Poolable interface for listener
index d02c0dd99ea6769a5c3deb202e8be51c70771142..9fe5d0cbb85f50e221850b9897339d44bc981015 100644 (file)
@@ -5,9 +5,9 @@ namespace Hub\Registry\Socket;
 // Import application-specific stuff
 use Hub\Container\Socket\StorableSocket;
 use Hub\Information\ShareableInfo;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 use CoreFramework\Registry\Registerable;
 
 /**
index 7b1a0f51c5d062c1c7e20ae1794a1e960a840d8a..6aada607a6141339f2d640a48aa5c56b307f8b3e 100644 (file)
@@ -4,12 +4,12 @@ namespace Hub\Information;
 
 // Import application-specific stuff
 use Hub\Helper\Connection\ConnectionHelper;
+use Hub\Listener\Listenable;
 
 // Import application-specific stuff
 use Hub\Generic\HubInterface;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * An interface for shareable informations
index 0a683eb52cb7e976e5809b79dfb298e193fe9caa..f8e35b61b156e3e01294a6b592c5d3fc7edc5063 100644 (file)
@@ -4,9 +4,9 @@ namespace Hub\Tag;
 
 // Import application-specific stuff
 use Hub\Generic\HubInterface;
+use Hub\Listener\Listenable;
 
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * An interface for tags
index e89db88661a4030778e4afa9b0a3302f7b7d82ff..39af5e263c9082ddff640511c605632fcf15a2f3 100644 (file)
@@ -2,8 +2,10 @@
 // Own namespace
 namespace Hub\Visitor\Pool\Listener;
 
+// Import application-specific stuff
+use Hub\Listener\Listenable;
+
 // Import framework stuff
-use CoreFramework\Listener\Listenable;
 
 /**
  * An interface for the visitor implementation for pools
diff --git a/core b/core
index 6751244349667c1165f05a319f3d66d3f6781b40..ca40302a326b814bbd5273a0540e18d672cf2d70 160000 (submodule)
--- a/core
+++ b/core
@@ -1 +1 @@
-Subproject commit 6751244349667c1165f05a319f3d66d3f6781b40
+Subproject commit ca40302a326b814bbd5273a0540e18d672cf2d70