From: Roland Häder Date: Fri, 9 Nov 2012 19:13:18 +0000 (+0000) Subject: Renamed interface 'Dht' to 'Distributable' (sorry for being inactive here) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b3d13ac5b215d911a11da05434f990fc0c73b0b5;p=hub.git Renamed interface 'Dht' to 'Distributable' (sorry for being inactive here) --- diff --git a/.gitattributes b/.gitattributes index ef31572ab..010e2b498 100644 --- a/.gitattributes +++ b/.gitattributes @@ -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 diff --git a/application/hub/interfaces/dht/class_Dht.php b/application/hub/interfaces/dht/class_Dht.php index 758d39177..f551ef47b 100644 --- a/application/hub/interfaces/dht/class_Dht.php +++ b/application/hub/interfaces/dht/class_Dht.php @@ -1,28 +1,3 @@ - * @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 . - */ -interface Dht extends FrameworkInterface { -} - -// [EOF] +// @DEPRECATED ?> diff --git a/application/hub/interfaces/distributable/.htaccess b/application/hub/interfaces/distributable/.htaccess new file mode 100644 index 000000000..3a4288278 --- /dev/null +++ b/application/hub/interfaces/distributable/.htaccess @@ -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 index 000000000..8bbf59598 --- /dev/null +++ b/application/hub/interfaces/distributable/class_Distributable.php @@ -0,0 +1,28 @@ + + * @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 . + */ +interface Distributable extends FrameworkInterface { +} + +// [EOF] +?> diff --git a/application/hub/main/dht/class_ b/application/hub/main/dht/class_ index 0543b18cc..5852fc9be 100644 --- a/application/hub/main/dht/class_ +++ b/application/hub/main/dht/class_ @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -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 diff --git a/application/hub/main/dht/node/class_NodeDhtFacade.php b/application/hub/main/dht/node/class_NodeDhtFacade.php index a2666f69b..07ab7633d 100644 --- a/application/hub/main/dht/node/class_NodeDhtFacade.php +++ b/application/hub/main/dht/node/class_NodeDhtFacade.php @@ -21,7 +21,7 @@ * You should have received a copy of the GNU General Public License * along with this program. If not, see . */ -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();