]> git.mxchange.org Git - hub.git/commitdiff
Removed deprecated stuff.
authorRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 22:52:47 +0000 (00:52 +0200)
committerRoland Haeder <roland@mxchange.org>
Fri, 17 Oct 2014 22:52:47 +0000 (00:52 +0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
application/hub/interfaces/connectors/.htaccess [deleted file]
application/hub/interfaces/connectors/class_Connectable.php [deleted file]
application/hub/main/nodes/class_BaseHubNode.php

diff --git a/application/hub/interfaces/connectors/.htaccess b/application/hub/interfaces/connectors/.htaccess
deleted file mode 100644 (file)
index 3a42882..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Deny from all
diff --git a/application/hub/interfaces/connectors/class_Connectable.php b/application/hub/interfaces/connectors/class_Connectable.php
deleted file mode 100644 (file)
index 2b78107..0000000
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-/**
- * An interface for connector classes
- *
- * @author             Roland Haeder <webmaster@shipsimu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2014 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 Connectable extends FrameworkInterface {
-       /**
-        * Handles all pending requests/what ever. This method should be called by
-        * the ActiveTaskVisitor class and should use an iterator on all pending
-        * requests/queries/queues.
-        *
-        * @return      void
-        */
-       function handlePending ();
-}
-
-// [EOF]
-?>
index 7aa54834be2b47c24af8b7dcd4aadcea3cf9b692..bacb47134709339c6ae3f7ee9926b2e6b594d0bb 100644 (file)
@@ -41,16 +41,6 @@ class BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
         */
        private $bootIpPort = '';
 
-       /**
-        * Query connector instance
-        */
-       private $queryConnectorInstance = NULL;
-
-       /**
-        * Queue connector instance
-        */
-       private $queueConnectorInstance = NULL;
-
        /**
         * Whether this node is anncounced (keep on FALSE!)
         * @deprecated
@@ -154,44 +144,6 @@ class BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
                self::createDebugInstance(__CLASS__)->debugOutput('BOOTSTRAP: Created new private key with hash: ' . $this->getPrivateKeyHash() . '');
        }
 
-       /**
-        * Setter for query instance
-        *
-        * @param       $connectorInstance              Our new query instance
-        * @return      void
-        */
-       private final function setQueryConnectorInstance (Connectable $connectorInstance) {
-               $this->queryConnectorInstance = $connectorInstance;
-       }
-
-       /**
-        * Getter for query instance
-        *
-        * @return      $connectorInstance              Our new query instance
-        */
-       public final function getQueryConnectorInstance () {
-               return $this->queryConnectorInstance;
-       }
-
-       /**
-        * Setter for queue instance
-        *
-        * @param       $connectorInstance              Our new queue instance
-        * @return      void
-        */
-       private final function setQueueConnectorInstance (Connectable $connectorInstance) {
-               $this->queueConnectorInstance = $connectorInstance;
-       }
-
-       /**
-        * Getter for queue instance
-        *
-        * @return      $connectorInstance              Our new queue instance
-        */
-       public final function getQueueConnectorInstance () {
-               return $this->queueConnectorInstance;
-       }
-
        /**
         * Getter for boot IP/port combination
         *