]> git.mxchange.org Git - hub.git/commitdiff
Renamed interface 'Dht' to 'Distributable' (sorry for being inactive here)
authorRoland Häder <roland@mxchange.org>
Fri, 9 Nov 2012 19:13:18 +0000 (19:13 +0000)
committerRoland Häder <roland@mxchange.org>
Fri, 9 Nov 2012 19:13:18 +0000 (19:13 +0000)
.gitattributes
application/hub/interfaces/dht/class_Dht.php
application/hub/interfaces/distributable/.htaccess [new file with mode: 0644]
application/hub/interfaces/distributable/class_Distributable.php [new file with mode: 0644]
application/hub/main/dht/class_
application/hub/main/dht/node/class_NodeDhtFacade.php

index ef31572abb9152488694e07c01f645dcf80cea2c..010e2b498f5d702bd8741fb7f478b2ac6c098787 100644 (file)
@@ -60,6 +60,8 @@ application/hub/interfaces/dht/class_Dht.php svneol=native#text/plain
 application/hub/interfaces/discovery/.htaccess -text svneol=unset#text/plain
 application/hub/interfaces/discovery/class_DiscoverableRecipient.php svneol=native#text/plain
 application/hub/interfaces/discovery/class_DiscoverableSocket.php svneol=native#text/plain
+application/hub/interfaces/distributable/.htaccess -text svneol=unset#text/plain
+application/hub/interfaces/distributable/class_Distributable.php svneol=native#text/plain
 application/hub/interfaces/executor/.htaccess svneol=native#text/plain
 application/hub/interfaces/executor/class_Executor.php svneol=native#text/plain
 application/hub/interfaces/filter/.htaccess -text svneol=unset#text/plain
index 758d391771c368f285f789938a47bab1c90e9316..f551ef47b7591c74e7b59193e56a1fa6505a87ab 100644 (file)
@@ -1,28 +1,3 @@
 <?php
-/**
- * An interface for DHTs
- *
- * @author             Roland Haeder <webmaster@ship-simu.org>
- * @version            0.0.0
- * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
- * @license            GNU GPL 3.0 or any newer version
- * @link               http://www.ship-simu.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 Dht extends FrameworkInterface {
-}
-
-// [EOF]
+// @DEPRECATED
 ?>
diff --git a/application/hub/interfaces/distributable/.htaccess b/application/hub/interfaces/distributable/.htaccess
new file mode 100644 (file)
index 0000000..3a42882
--- /dev/null
@@ -0,0 +1 @@
+Deny from all
diff --git a/application/hub/interfaces/distributable/class_Distributable.php b/application/hub/interfaces/distributable/class_Distributable.php
new file mode 100644 (file)
index 0000000..8bbf595
--- /dev/null
@@ -0,0 +1,28 @@
+<?php
+/**
+ * An interface for DHTs
+ *
+ * @author             Roland Haeder <webmaster@ship-simu.org>
+ * @version            0.0.0
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Hub Developer Team
+ * @license            GNU GPL 3.0 or any newer version
+ * @link               http://www.ship-simu.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 Distributable extends FrameworkInterface {
+}
+
+// [EOF]
+?>
index 0543b18cce884ee7b29cf02fa229ebe53e9aa5a2..5852fc9bedf8a5a5dcb4d0ab4ca9319fc37c3e1b 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class ???DhtFacade extends BaseDht implements Dht {
+class ???DhtFacade extends BaseDht implements Distributable {
        /**
         * Protected constructor
         *
@@ -35,7 +35,7 @@ class ???DhtFacade extends BaseDht implements Dht {
        /**
         * Creates an instance of this class
         *
-        * @return      $dhtInstance            An instance of a Dht class
+        * @return      $dhtInstance            An instance of a Distributable class
         */
        public final static function create??? () {
                // Get new instance
index a2666f69b3e1fd7f4367a6b7052b2ab17d2ed8ce..07ab7633d3669658adf2c528b49146d46acc8ace 100644 (file)
@@ -21,7 +21,7 @@
  * You should have received a copy of the GNU General Public License
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
-class NodeDhtFacade extends BaseDht implements Dht {
+class NodeDhtFacade extends BaseDht implements Distributable {
        /**
         * Protected constructor
         *
@@ -35,9 +35,9 @@ class NodeDhtFacade extends BaseDht implements Dht {
        /**
         * Creates an instance of this class
         *
-        * @return      $dhtInstance            An instance of a Dht class
+        * @return      $dhtInstance    An instance of a Distributable class
         */
-       public final static function createNode () {
+       public final static function createNodeDhtFacade () {
                // Get new instance
                $dhtInstance = new NodeDhtFacade();