]> git.mxchange.org Git - hub.git/blobdiff - application/hub/classes/nodes/class_BaseHubNode.php
Renamed class BaseTags to BaseTag + added file-bases socket listener (may
[hub.git] / application / hub / classes / nodes / class_BaseHubNode.php
index 0979c889bb210926b653c2baf859e961d90d13d9..2d6116746fb75bd6eb992eed9dc8aacb3fa96929 100644 (file)
@@ -531,6 +531,15 @@ class BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
                // Get a new pool instance
                $this->setListenerPoolInstance(ObjectFactory::createObjectByConfiguredName('listener_pool_class', array($this)));
 
+               // Get an instance of the low-level listener
+               $listenerInstance = ObjectFactory::createObjectByConfiguredName('socket_file_listener_class');
+
+               // Initialize the listener
+               $listenerInstance->initListener();
+
+               // Add this listener to the pool
+               $this->getListenerPoolInstance()->addListener($listenerInstance);
+
                // Get an instance of the low-level listener
                $listenerInstance = ObjectFactory::createObjectByConfiguredName('tcp_listener_class');