]> git.mxchange.org Git - hub.git/blobdiff - application/hub/main/nodes/boot/class_HubBootNode.php
Rewrites, some more methods:
[hub.git] / application / hub / main / nodes / boot / class_HubBootNode.php
index bc62fcb1ce8b789f4f4ded142d9b5af0cab86a46..166cdb263330794c0727267831961bdbf4bdd36b 100644 (file)
@@ -61,7 +61,7 @@ class HubBootNode extends BaseHubNode implements NodeHelper, Registerable {
                // Now check if the IP address matches one of the bootstrap nodes
                if ($this->ifAddressMatchesBootstrappingNodes($this->getConfigInstance()->detectServerAddress())) {
                        // Get our port from configuration
-                       $ourPort = $this->getConfigInstance()->getConfigEntry('node_tcp_listen_port');
+                       $ourPort = $this->getConfigInstance()->getConfigEntry('node_listen_port');
 
                        // Extract port
                        $bootPort = substr($this->getBootIpPort(), -strlen($ourPort), strlen($ourPort));
@@ -95,18 +95,6 @@ class HubBootNode extends BaseHubNode implements NodeHelper, Registerable {
                $this->partialStub('Please implement more bootsrapping steps.');
        }
 
-       /**
-        * Initializes hub-specific queues
-        *
-        * @return      void
-        * @todo        Unfinished method
-        */
-       public function initQueues () {
-               // Call generic queues every hub may have, like the core queue
-               parent::initGenericQueues();
-               $this->partialStub('Please add some more hub-specific queues.');
-       }
-
        /**
         * Add some node-specific filters
         *