]> git.mxchange.org Git - hub.git/commitdiff
Continued:
authorRoland Häder <roland@mxchange.org>
Wed, 3 Jan 2018 22:14:35 +0000 (23:14 +0100)
committerRoland Häder <roland@mxchange.org>
Fri, 21 Aug 2020 16:50:11 +0000 (18:50 +0200)
- made all base classes abstract like in 'core' framework

Signed-off-by: Roland Häder <roland@mxchange.org>
70 files changed:
application/hub/class_ApplicationHelper.php
application/hub/classes/apt-proxy/class_BaseNodeAptProxy.php
application/hub/classes/blocks/class_BaseBlock.php
application/hub/classes/chat/class_BaseNodeChat.php
application/hub/classes/class_BaseHubSystem.php
application/hub/classes/communicator/class_BaseCommunicator.php
application/hub/classes/compressor/decorator/class_NetworkPackageCompressorDecorator.php
application/hub/classes/container/class_BaseHubContainer.php
application/hub/classes/crawler/class_BaseNodeCrawler.php
application/hub/classes/cruncher/class_BaseHubCruncher.php
application/hub/classes/database/frontend/class_BaseHubDatabaseWrapper.php
application/hub/classes/decoder/class_BaseDecoder.php
application/hub/classes/dht/class_BaseDht.php
application/hub/classes/discovery/class_BaseNodeDiscovery.php
application/hub/classes/discovery/recipient/class_BaseRecipientDiscovery.php
application/hub/classes/discovery/recipient/package/class_PackageRecipientDiscovery.php
application/hub/classes/discovery/recipient/socket/class_PackageSocketDiscovery.php
application/hub/classes/filter/class_BaseAptProxyFilter.php
application/hub/classes/filter/class_BaseChatFilter.php
application/hub/classes/filter/class_BaseCrawlerFilter.php
application/hub/classes/filter/class_BaseCruncherFilter.php
application/hub/classes/filter/class_BaseHubFilter.php
application/hub/classes/filter/class_BaseMinerFilter.php
application/hub/classes/filter/class_BaseNodeFilter.php
application/hub/classes/handler/class_BaseHubHandler.php
application/hub/classes/handler/data/answer-status/class_BaseAnserStatusHandler.php
application/hub/classes/handler/data/message-types/class_BaseMessageHandler.php
application/hub/classes/handler/raw_data/class_BaseRawDataHandler.php
application/hub/classes/helper/class_BaseHubSystemHelper.php
application/hub/classes/helper/connection/class_BaseConnectionHelper.php
application/hub/classes/helper/connection/ipv4/class_BaseIpV4ConnectionHelper.php
application/hub/classes/helper/messages/class_BaseMessageHelper.php
application/hub/classes/helper/node/answer/class_BaseHubAnswerHelper.php
application/hub/classes/helper/node/class_BaseNodeHelper.php
application/hub/classes/helper/work_units/class_BaseWorkUnitHelper.php
application/hub/classes/info/class_BaseInfo.php
application/hub/classes/listener/class_BaseListener.php
application/hub/classes/listener/class_BaseListenerDecorator.php
application/hub/classes/miner/class_BaseHubMiner.php
application/hub/classes/nodes/class_BaseHubNode.php
application/hub/classes/package/assembler/class_PackageAssembler.php
application/hub/classes/pools/class_BasePool.php
application/hub/classes/producer/class_BaseProducer.php
application/hub/classes/producer/cruncher/class_BaseKeyProducer.php
application/hub/classes/producer/cruncher/class_BaseUnitProducer.php
application/hub/classes/producer/miner/class_BaseBlockProducer.php
application/hub/classes/recipient/class_BaseRecipient.php
application/hub/classes/recipient/direct/class_DirectRecipient.php
application/hub/classes/recipient/self/class_SelfRecipient.php
application/hub/classes/recipient/upper/class_UpperRecipient.php
application/hub/classes/resolver/protocol/class_BaseProtocolResolver.php
application/hub/classes/resolver/state/class_BaseStateResolver.php
application/hub/classes/scanner/class_BaseScanner.php
application/hub/classes/source/class_BaseSource.php
application/hub/classes/source/class_BaseUrlSource.php
application/hub/classes/states/communicator/class_BaseCommunicatorState.php
application/hub/classes/states/crawler/class_BaseCrawlerState.php
application/hub/classes/states/cruncher/class_BaseCruncherState.php
application/hub/classes/states/dht/class_BaseDhtState.php
application/hub/classes/states/miner/class_BaseMinerState.php
application/hub/classes/states/node/class_BaseNodeState.php
application/hub/classes/states/peer/class_BasePeerState.php
application/hub/classes/statistics/connection/class_ConnectionStatisticsHelper.php
application/hub/classes/tags/class_BaseTag.php
application/hub/classes/tasks/crawler/class_BaseUrlSourceTask.php
application/hub/classes/template/answer/class_BaseXmlAnswerTemplateEngine.php
application/hub/classes/template/class_BaseXmlTemplateEngine.php
application/hub/config-local.php-dist
application/hub/exceptions/dht/class_DhtBootstrapNotAcceptedException.php
application/hub/exceptions/requests/class_NoRequestNodeListAttemptedException.php

index e61d84e5ab91624b678b4a851f53ae5ec5f68c12..e31e1a08d31e00376c7732245da0cea019115578 100644 (file)
@@ -2,7 +2,7 @@
 // Must be this namespace, else the launcher cannot find the class.
 namespace Org\Mxchange\CoreFramework\Helper\Application;
 
-// Import hub-specific sutff
+// Import application-specific sutff
 use Org\Shipsimu\Hub\Tools\HubTools;
 
 // Import framework stuff
index 8b883b035b583047987b180f100f7d6bb8fd4ab1..d1827fc395c73244a8be8f299e925e81b120dd83 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\AptProxy;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseNodeAptProxy extends BaseHubSystem {
+abstract class BaseNodeAptProxy extends BaseHubSystem {
        /**
         * Whether this apt-proxy is active
         */
@@ -62,4 +62,5 @@ class BaseNodeAptProxy extends BaseHubSystem {
        public final function isActive () {
                return $this->isActive;
        }
+
 }
index 2e8b9eec4b79fb4d2df7257057acf2eeba227e05..1bfe5dc6be19a5b911ba38c17687910adebd624d 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Block;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseBlock extends BaseHubSystem {
+abstract class BaseBlock extends BaseHubSystem {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseBlock extends BaseHubSystem {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 41afff33a288911a3a501b9351c91b0a988be8c4..09c68ef0655b0a044e4866a883c1484dd24a70ce 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Chat;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseNodeChat extends BaseHubSystem {
+abstract class BaseNodeChat extends BaseHubSystem {
        /**
         * Whether this Chatter is active
         */
@@ -62,4 +62,5 @@ class BaseNodeChat extends BaseHubSystem {
        public final function isActive () {
                return $this->isActive;
        }
+
 }
index 7dafb43cafa6c4271fc34a9fe00f5fbdfe9608a4..2129629d1f8471b8e7f1197cc4771532c9a47fe2 100644 (file)
@@ -41,7 +41,7 @@ use Org\Mxchange\CoreFramework\Object\BaseFrameworkSystem;
  * 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 BaseHubSystem extends BaseFrameworkSystem implements HubInterface {
+abstract class BaseHubSystem extends BaseFrameworkSystem implements HubInterface {
        // Exception codes
        const EXCEPTION_CHUNK_ALREADY_ASSEMBLED       = 0x900;
        const EXCEPTION_ANNOUNCEMENT_NOT_ACCEPTED     = 0x901;
index 2b634beda8595483e351da9045cb33253accc4d5..7fc14d84aa16ee0b0be7539f7cd96ec0b20edecf 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Communicator;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
@@ -30,7 +30,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  * 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 BaseCommunicator extends BaseHubSystem {
+abstract class BaseCommunicator extends BaseHubSystem {
        /**
         * Protected constructor
         *
@@ -66,4 +66,5 @@ class BaseCommunicator extends BaseHubSystem {
                // This communicator is now fully initialized so change the state
                $stateInstance->communicatorHasInitialized();
        }
+
 }
index 1d621750ac2267b2af41221c872977469bfc89cb..04df1fb1fd45f6888aa67bd03e2d28c5e5c89fd5 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Compressor\Package;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework-specific stuff
@@ -92,7 +92,5 @@ class NetworkPackageCompressorDecorator extends BaseHubSystem implements Compres
                // Call the inner compressor class
                return $this->getCompressorInstance()->getCompressorExtension();
        }
-}
 
-// [EOF]
-?>
+}
index afb7321b9b3f25943ea75275d6b47dc36da2fa5b..7a2073fb593f46c3ad491dde711214387953bf2f 100644 (file)
@@ -36,7 +36,7 @@ use Org\Mxchange\CoreFramework\Container\BaseContainer;
  * 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 BaseHubContainer extends BaseContainer implements HubInterface {
+abstract class BaseHubContainer extends BaseContainer implements HubInterface {
        /**
         * Listener instance
         */
index 59fd0619c50b0a0a9c7586533814112f9a8f9d46..57ca8fa3d83c850212118eb3dc867e11d2488f38 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Crawler;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
@@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\State\Stateable;
  * 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 BaseNodeCrawler extends BaseHubSystem {
+abstract class BaseNodeCrawler extends BaseHubSystem {
        /**
         * Whether this Crawler is active
         */
@@ -94,7 +94,5 @@ class BaseNodeCrawler extends BaseHubSystem {
        public final function isActive () {
                return $this->isActive;
        }
-}
 
-// [EOF]
-?>
+}
index e320039a2aa2679ef33279e5162d9294cab7e014..3afa60516222c2fea18d54d22812999b4d9ac700 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Cruncher;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
@@ -218,4 +218,5 @@ abstract class BaseHubCruncher extends BaseHubSystem implements Updateable {
                $this->partialStub('Unfinished!');
                return;
        }
+
 }
index a4b12a7f737d06528eda2ee2a798b6fbaa51d491..dd4997fd063eedae79b68ec4d6ba31803feed884 100644 (file)
@@ -35,7 +35,7 @@ use Org\Mxchange\CoreFramework\Database\Frontend\BaseDatabaseWrapper;
  * 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 BaseHubDatabaseWrapper extends BaseDatabaseWrapper implements HubInterface {
+abstract class BaseHubDatabaseWrapper extends BaseDatabaseWrapper implements HubInterface {
        /**
         * Listener instance
         */
index f6d801b35fe19a861ef39093b1ac35e0ac679102..696facfacf6d64248fa43fe0ac52e5572b152386 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Decoder;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseDecoder extends BaseHubSystem {
+abstract class BaseDecoder extends BaseHubSystem {
        /**
         * Protected constructor
         *
index 99bfe8de8bce3a387114246c2a059572d525f5dd..e6b946192cc21f717d1b57a744847119772d94a0 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Dht;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Factory\State\Dht\DhtStateFactory;
 use Org\Shipsimu\Hub\Dht\Distributable;
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
index 871f724f754d78f3adfc5aa9cdc062df7ebabad7..e874610c769a9115aa8e0b87f6cf8d410f933de5 100644 (file)
@@ -31,7 +31,7 @@ use Org\Mxchange\CoreFramework\Request\Requestable;
  * 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 BaseNodeDiscovery extends BaseDiscovery implements Discoverable {
+abstract class BaseNodeDiscovery extends BaseDiscovery implements Discoverable {
        /**
         * Protected constructor
         *
index b58ae2ef5a8ea2cbef2a6653108b6284d6ccb6ff..024630b895d3cd19c0ff7957013280dafe24affe 100644 (file)
@@ -29,7 +29,7 @@ use Org\Shipsimu\Hub\Factory\Lists\Recipient\RecipientListFactory;
  * 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 BaseRecipientDiscovery extends BaseNodeDiscovery implements DiscoverableRecipient {
+abstract class BaseRecipientDiscovery extends BaseNodeDiscovery implements DiscoverableRecipient {
        /**
         * Protected constructor
         *
index 88fa6a0f7790fb5a39edc3fec4d3d8105f867961..0d4d2f6621868234ea25fdd1eded60a7f4842574 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Discovery\Network\Recipient;
 
-// Import hub-specific sutff
+// Import application-specific sutff
 use Org\Shipsimu\Hub\Discovery\Recipient\BaseRecipientDiscovery;
 use Org\Shipsimu\Hub\Discovery\Recipient\Node\DiscoverableNodeRecipient;
 use Org\Shipsimu\Hub\Factory\Handler\Protocol\ProtocolHandlerFactory;
index cdbcb42dbea3237b754ef4d02af26e980d9f04e5..9d1bf5499437bb3d0bef6cf27f750162de66ad05 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Discovery\Socket;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Container\Socket\StorableSocket;
 use Org\Shipsimu\Hub\Discovery\Recipient\BaseRecipientDiscovery;
 use Org\Shipsimu\Hub\Discovery\Protocol\ProtocolDiscovery;
index 07066683626bdefa1904bb62040a22950259cb71..8469fc1441eda99de31784fd7762c99640d067f1 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseAptProxyFilter extends BaseHubFilter {
+abstract class BaseAptProxyFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseAptProxyFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 42c02c3918b7324fae17537c3a6b134a1bf664fa..0082bbd41442a6c45d1f6af318e32b1a5b562870 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseChatFilter extends BaseHubFilter {
+abstract class BaseChatFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseChatFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 5beb9b0334f78fdf713501ce68423226a35d93b9..f824ec1c9d68fd77063b79f9e0c12f7405750d4b 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseCrawlerFilter extends BaseHubFilter {
+abstract class BaseCrawlerFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseCrawlerFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 263485c1fcc9108b2c66e220eba78e79687bd66b..ca2dc7b409b11e00c1dc2605b747a35d88e67d14 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseCruncherFilter extends BaseHubFilter {
+abstract class BaseCruncherFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseCruncherFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index fe0f9aafadab4e968a8e4c445d24c1615dc41e10..922bcca3c350447efadcaa21431cfb689a1d4574 100644 (file)
@@ -32,7 +32,7 @@ use Org\Mxchange\CoreFramework\Filter\BaseFilter;
  * 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 BaseHubFilter extends BaseFilter {
+abstract class BaseHubFilter extends BaseFilter {
        /**
         * Array with all data XML nodes (which hold the actual data) and their values
         */
@@ -131,7 +131,5 @@ class BaseHubFilter extends BaseFilter {
                // Push the processed message back on stack
                $packageInstance->getStackInstance()->pushNamed(NetworkPackage::STACKER_NAME_PROCESSED_MESSAGE, $messageArray);
        }
-}
 
-// [EOF]
-?>
+}
index 1e2c7833a7b32a52b18f20909360e5b1b9f00c0c..54b6582dcc63a269caacd7621b705244dbb4c8f3 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseMinerFilter extends BaseHubFilter {
+abstract class BaseMinerFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseMinerFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 911baa6885f6d8499d0cc421a1229d28b3d1ef3f..6cdd897a8d8d461cd2622c99ad104da085383be1 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Filter\BaseHubFilter;
  * 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 BaseNodeFilter extends BaseHubFilter {
+abstract class BaseNodeFilter extends BaseHubFilter {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseNodeFilter extends BaseHubFilter {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 97d65515be0a0df4864ff4a8227529bd2acc160e..763aaa208bcab604787e3ff5bf8966e9598fc869 100644 (file)
@@ -37,7 +37,7 @@ use Org\Mxchange\CoreFramework\Handler\Handleable;
  * 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 BaseHubHandler extends BaseHandler implements Handleable, HubInterface {
+abstract class BaseHubHandler extends BaseHandler implements Handleable, HubInterface {
        /**
         * Listener instance
         */
index 540bb1c4533480db77a837ccab3f2892dee914ec..a7932c18a204b5c4a16e290200e57b3c2f94b204 100644 (file)
@@ -43,7 +43,5 @@ abstract class BaseAnserStatusHandler extends BaseDataHandler {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 5a34263314fb269bdde33cf423220e25fd08eb8e..04c7cdf419f1d86cac1c29cf30147211b94f7e0e 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Handler\Message;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Factory\Dht\DhtObjectFactory;
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Shipsimu\Hub\Network\Receive\Receivable;
index 5bfd9e0903247d3e05d48ea0c0a92f0d99f7d1c6..eb7980ce0aadfa88404be55cf3cff62de366bce5 100644 (file)
@@ -35,7 +35,7 @@ use Org\Mxchange\CoreFramework\Generic\UnsupportedOperationException;
  * 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 BaseRawDataHandler extends BaseHubHandler implements HandleableRawData {
+abstract class BaseRawDataHandler extends BaseHubHandler implements HandleableRawData {
        /**
         * Error code from socket
         */
index f18be2ab4b7c49de4c9965df28fc878bf992bb4a..de1bcecb0526ae07014da769106093790d7dafde 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Helper;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -96,4 +96,5 @@ class BaseHubSystemHelper extends BaseHubSystem implements HubHelper {
                die(__METHOD__ . ':' . print_r($this, TRUE));
                // Return it
        }
+
 }
index 23faea7a56a6baef6cdaf8f73628fbf49943dbb1..ec8ea7e9f150950d1d69cf6c66d1c1d60976756b 100644 (file)
@@ -40,7 +40,7 @@ use Org\Mxchange\CoreFramework\Visitor\Visitor;
  * 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 BaseConnectionHelper extends BaseHubSystemHelper implements Visitable, Registerable {
+abstract class BaseConnectionHelper extends BaseHubSystemHelper implements Visitable, Registerable {
        // Exception codes
        const EXCEPTION_UNSUPPORTED_ERROR_HANDLER = 0x9100;
 
index 37cf5057d6c9f2b7bc6138a6dc32f9a722bc5e1c..479654a666800397cd787063b94fd001e004b39b 100644 (file)
@@ -30,7 +30,7 @@ use Org\Shipsimu\Hub\Locator\Node\LocateableNode;
  * 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 BaseIpV4ConnectionHelper extends BaseConnectionHelper {
+abstract class BaseIpV4ConnectionHelper extends BaseConnectionHelper {
        /**
         * Protected constructor
         *
index 6fc29f74d7b809a284aaaa4a566ad4272a859dfb..59fde41dcdfd7c7e050ee7e985da6bed6c773de4 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseMessageHelper extends BaseHubSystem {
+abstract class BaseMessageHelper extends BaseHubSystem {
        /**
         * Protected constructor
         *
index 7eae6be6e1053de523400c5215e730ce29e7a7bc..ab07448bd8b58b0ef9b8c522eadb08ada801a663 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Helper\Node\BaseNodeHelper;
  * 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 BaseHubAnswerHelper extends BaseNodeHelper {
+abstract class BaseHubAnswerHelper extends BaseNodeHelper {
        /**
         * Message data array
         */
@@ -61,7 +61,5 @@ class BaseHubAnswerHelper extends BaseNodeHelper {
        public final function getMessageData () {
                return $this->messageData;
        }
-}
 
-// [EOF]
-?>
+}
index faa91d3e4d1e4ee6744c602f8e2b1485c3f58b9f..3706ec807b55513af4d5aa33cd9ce5f4f92e0aaf 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Helper\Node;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Shipsimu\Hub\Helper\BaseHubSystemHelper;
 
index d09e8466eb677c4d83d96926603d1b1700ccaea9..d434455e068f7c01b25c13e1aa850024fc500e53 100644 (file)
@@ -48,7 +48,5 @@ abstract class BaseWorkUnitHelper extends BaseHubSystem {
         * @return      void
         */
        abstract protected function initializeUnitHelper ();
-}
 
-// [EOF]
-?>
+}
index 838065639b69cd35830c7e6a6db89ae655057b0e..fd0d59178cf2cd8764a6d108d1e186309cbe38aa 100644 (file)
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseInfo extends BaseHubSystem {
+abstract class BaseInfo extends BaseHubSystem {
        /**
         * Protected constructor
         *
index 45cfc471edd8e05af23a9de1c6dfa1c195560cbc..23c282a456bac999e14dc7633e735486c4d71331 100644 (file)
@@ -48,7 +48,7 @@ use \LogicException;
  * 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 BaseListener extends BaseHubSystem implements Visitable {
+abstract class BaseListener extends BaseHubSystem implements Visitable {
        // Exception code constants
        const EXCEPTION_SOCKET_ALREADY_REGISTERED        = 0xa01;
        const EXCEPTION_SOCKET_CREATION_FAILED           = 0xa02;
index 957c882333f477bb6f53f783f575a3f09a2e016d..172b2baae7f22a71f794f132707987c85dde464f 100644 (file)
@@ -41,7 +41,7 @@ use \LogicException;
  * 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 BaseListenerDecorator extends BaseDecorator implements Visitable {
+abstract class BaseListenerDecorator extends BaseDecorator implements Visitable {
        /**
         * Listener type
         */
index f92b8b3d62f36165b1c67d6b8b63f1763c22005b..32cacec425f430323e1d7ecea9e80904a461bbb6 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Miner;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
@@ -249,7 +249,5 @@ abstract class BaseHubMiner extends BaseHubSystem implements Updateable {
                        MinerStateFactory::createMinerStateInstanceByName('booting');
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index d778e08f208a78cbceb525989f87160c75b64587..7213342cd2654cfb12b9be7c08a9af5682419c51 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Node;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Database\Frontend\Node\Dht\NodeDistributedHashTableDatabaseWrapper;
 use Org\Shipsimu\Hub\Database\Frontend\Node\Information\NodeInformationDatabaseWrapper;
 use Org\Shipsimu\Hub\Factory\Registry\Object\ObjectTypeRegistryFactory;
@@ -51,7 +51,7 @@ use Org\Mxchange\CoreFramework\Task\Taskable;
  * 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 BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
+abstract class BaseHubNode extends BaseHubSystem implements Updateable, AddableCriteria {
        /**
         * Node types
         */
index e83b847ca2a555c2f97200ae281d4a8e42051860..91359b8cd2853ce6a3dddb584ffe49c982e866e0 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Package\Assembler;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Container\Socket\StorableSocket;
 use Org\Shipsimu\Hub\Factory\Handler\Chunk\ChunkHandlerFactory;
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
index bd838f65ddc98afb8f4a10555e6d97350282889a..e666d6a820a2ac359dedd65852f61a25ac43fb6c 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Pool;
 
-// Import hub-specific stuff
+// Import application-specificl stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Shipsimu\Hub\Pool\Poolable;
 
index 73915cacb90d5a656fc0116af4b85e457e60a27e..5f0783fb3a4b60e95ab444544733166e57ac1cf6 100644 (file)
@@ -200,7 +200,5 @@ abstract class BaseProducer extends BaseHubSystem {
        protected function isIncomingQueueLimitReached($configEntry) {
                return ($this->getConfigInstance()->getConfigEntry($configEntry) <= $this->getIncomingQueueInstance()->getStackCount(self::STACKER_NAME_IN_QUEUE));
        }
-}
 
-// [EOF]
-?>
+}
index 8571930622995fdb9233518bb2155db48d9348a1..e5cc41a3c7ae3e539e6d9a307627446a8eb0b31b 100644 (file)
@@ -34,7 +34,5 @@ abstract class BaseKeyProducer extends BaseProducer {
 
                // Init key producer
        }
-}
 
-// [EOF]
-?>
+}
index c8fac2e5ac7f313090b8f5b8efcc465f305d6a4d..7df7bb9c49dd07a37991e651fae8ddb874704f8c 100644 (file)
@@ -45,7 +45,5 @@ abstract class BaseUnitProducer extends BaseProducer {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 4ed231824073c1b8b227090c90724eaf93e4bda5..ae05012fd472b16c8f788a9cbe5f9b6d2c7cd76e 100644 (file)
@@ -36,7 +36,5 @@ abstract class BaseBlockProducer extends BaseProducer {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index c93976e91e1d94747ce8a7a8bcb6102b23fa0219..e5b56610934d702cb0d6dbdc2acb25c9a4541e1d 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Recipient;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseRecipient extends BaseHubSystem {
+abstract class BaseRecipient extends BaseHubSystem {
        /**
         * Protected constructor
         *
index 21c8b4987c74e0b828d49a4e063476ec2bce6a1e..dac9bfa6cd5470f053e1b796e6f50bc6897a6949 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Recipient\Direct;
 
-// Import hub-specific sutff
+// Import application-specific sutff
 use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
 use Org\Shipsimu\Hub\Network\Recipient\BaseRecipient;
 use Org\Shipsimu\Hub\Network\Recipient\Recipient;
index e468cdbda781bfde357763efa4501f85b53e52b1..341c3334aff0b8e4a2a2bdb0ce3b7461cfbede10 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Recipient\Loopback;
 
-// Import hub-specific sutff
+// Import application-specific sutff
 use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
 use Org\Shipsimu\Hub\Network\Recipient\BaseRecipient;
 use Org\Shipsimu\Hub\Network\Recipient\Recipient;
index 09c479f4f0abc6985a6a44aa59c370bb07b08067..56552595d21e826730f2ca138a73d702dc991557 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Network\Recipient\Upper;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Shipsimu\Hub\Network\Package\NetworkPackage;
 use Org\Shipsimu\Hub\Network\Recipient\BaseRecipient;
index ca48cdd855eb0af3a3b92b0ec3a1357a7fb70f8a..5140942dc93e44cb3e38990046dc35057c49289d 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Resolver\Protocol;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
index 06cf46fabc65e8c5d34728fb5d041e9323d35907..b03b6f6e87360bcbbe9e72cf83195920c5fec7aa 100644 (file)
@@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\Resolver\BaseResolver;
  * 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 BaseStateResolver extends BaseResolver {
+abstract class BaseStateResolver extends BaseResolver {
        /**
         * Prefix for local, remote or other resolver
         */
index 2716cb2b1ea6cb35ee6077576fee00e37e60c62e..95de43636179de50670af8b4486354211a19fa40 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Scanner;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseScanner extends BaseHubSystem {
+abstract class BaseScanner extends BaseHubSystem {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseScanner extends BaseHubSystem {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index fe05bd7f1a75090c5a2e11b6124401d9ac67c017..17a0d75a2b01f4a422e7286f3cbda692da379fb0 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Source;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 /**
@@ -27,7 +27,7 @@ use Org\Shipsimu\Hub\Generic\BaseHubSystem;
  * 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 BaseSource extends BaseHubSystem {
+abstract class BaseSource extends BaseHubSystem {
        /**
         * Protected constructor
         *
@@ -38,7 +38,5 @@ class BaseSource extends BaseHubSystem {
                // Call parent constructor
                parent::__construct($className);
        }
-}
 
-// [EOF]
-?>
+}
index 74be57889bf8c73e48f496bfd58e50d4fbb7290a..a246a5c4effba1a36549a1841346d77222b333eb 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 BaseUrlSource extends BaseSource {
+abstract class BaseUrlSource extends BaseSource {
        // Stack name for all URLs
        const STACKER_NAME_URLS = 'urls';
 
@@ -110,7 +110,5 @@ class BaseUrlSource extends BaseSource {
                // Debug message
                /* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugOutput('CRAWLER-SOURCE : EXIT!');
        }
-}
 
-// [EOF]
-?>
+}
index 1ddb6cba0e88feb094620d8dd0884732196a8eb4..a717f1e04bcbbc4bbd913961d8d83df5b2f8f98c 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseCommunicatorState extends BaseState {
+abstract class BaseCommunicatorState extends BaseState {
        /**
         * Protected constructor
         *
@@ -53,7 +53,5 @@ class BaseCommunicatorState extends BaseState {
                        throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index 6c715641e247a14ae09e8b7b458f3025a149ebcd..796b3c420d80d0226506873f85884cff365c29bb 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseCrawlerState extends BaseState {
+abstract class BaseCrawlerState extends BaseState {
        /**
         * Protected constructor
         *
@@ -53,7 +53,5 @@ class BaseCrawlerState extends BaseState {
                        throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index eb7df383f32ce69f86668349d6e51cf06af3b8a8..25b174f3ae4e5c43ebffb3e4eba2c683b43b73e7 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseCruncherState extends BaseState {
+abstract class BaseCruncherState extends BaseState {
        /**
         * Protected constructor
         *
@@ -63,7 +63,5 @@ class BaseCruncherState extends BaseState {
                // Just compare it...
                return ($this instanceof CruncherVirginState);
        }
-}
 
-// [EOF]
-?>
+}
index 167e5eda2da47ca66c43ce0d67a1505146544b7d..5d4500124c5cc4fe9bf68578e16ad8a367575ac6 100644 (file)
@@ -28,7 +28,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseDhtState extends BaseState {
+abstract class BaseDhtState extends BaseState {
        /**
         * Protected constructor
         *
@@ -68,7 +68,5 @@ class BaseDhtState extends BaseState {
                // Return status
                return $isBooting;
        }
-}
 
-// [EOF]
-?>
+}
index 455b3506ed76d708ecf83da1358bbe8aa0566d30..e8127302a1f3baa3cae9a52089a25f315a5eaba7 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseMinerState extends BaseState {
+abstract class BaseMinerState extends BaseState {
        /**
         * Protected constructor
         *
@@ -93,7 +93,5 @@ class BaseMinerState extends BaseState {
                // Just compare it...
                return ($this instanceof MinerVirginState);
        }
-}
 
-// [EOF]
-?>
+}
index cae52d00a71368b070ce65abc29ab450df7a9e08..7bd26001b938967356d46c462737268167791435 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BaseNodeState extends BaseState {
+abstract class BaseNodeState extends BaseState {
        /**
         * Protected constructor
         *
@@ -98,7 +98,5 @@ class BaseNodeState extends BaseState {
                        throw new UnexpectedStateException($this, self::EXCEPTION_INVALID_STATE);
                } // END - if
        }
-}
 
-// [EOF]
-?>
+}
index 31daf298702cc97ccc896463184d3307384fa95d..a4d1a7b8e9f460beee0b7a1ff2ab5513f175189c 100644 (file)
@@ -27,7 +27,7 @@ use Org\Mxchange\CoreFramework\State\BaseState;
  * 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 BasePeerState extends BaseState {
+abstract class BasePeerState extends BaseState {
        /**
         * Protected constructor
         *
@@ -63,7 +63,5 @@ class BasePeerState extends BaseState {
                // Just compare it...
                return ($this instanceof ConnectedPeerState);
        }
-}
 
-// [EOF]
-?>
+}
index f6738ae6a6284ca31e5c01ad9363b95c6a10bb24..90a080fb1d0b4f5d9652b3f482711f9337d8c960 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Helper\Connection;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 use Org\Shipsimu\Hub\Helper\Connection\ConnectionHelper;
 
index f1b8c59212c0d7755c8d78b980eb5b0fd9383515..c60da0cab80b75984aac46574dc746e5714830f5 100644 (file)
@@ -2,7 +2,7 @@
 // Own namespace
 namespace Org\Shipsimu\Hub\Tag;
 
-// Import hub-specific stuff
+// Import application-specific stuff
 use Org\Shipsimu\Hub\Generic\BaseHubSystem;
 
 // Import framework stuff
@@ -30,7 +30,7 @@ use Org\Mxchange\CoreFramework\Registry\Registerable;
  * 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 BaseTag extends BaseHubSystem implements Registerable {
+abstract class BaseTag extends BaseHubSystem implements Registerable {
        /**
         * An array with all tags
         */
@@ -65,7 +65,5 @@ class BaseTag extends BaseHubSystem implements Registerable {
        protected final function getTags () {
                return $this->tags;
        }
-}
 
-// [EOF]
-?>
+}
index c4da47a5e5f79dc42318647265e7229f15e7eb3d..a340757baba4b53399fdd6a387875b3b92e4ef35 100644 (file)
@@ -30,7 +30,7 @@ use Org\Mxchange\CoreFramework\Task\BaseTask;
  * 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 BaseUrlSourceTask extends BaseTask {
+abstract class BaseUrlSourceTask extends BaseTask {
        /**
         * Protected constructor
         *
@@ -54,7 +54,5 @@ class BaseUrlSourceTask extends BaseTask {
                // And set it here
                $this->setUrlSourceInstance($sourceInstance);
        }
-}
 
-// [EOF]
-?>
+}
index 857c286b213cba490274a2baccd1b6a6b6dc8cd5..13dcfca09dfd5cf3a8292170b61a7186802348fd 100644 (file)
@@ -32,7 +32,7 @@ use Org\Mxchange\CoreFramework\Template\CompileableTemplate;
  * 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 BaseXmlAnswerTemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable {
+abstract class BaseXmlAnswerTemplateEngine extends BaseXmlTemplateEngine implements CompileableTemplate, Registerable {
        /**
         * Generic 'answer-status' field
         */
@@ -68,7 +68,5 @@ class BaseXmlAnswerTemplateEngine extends BaseXmlTemplateEngine implements Compi
                // Pop the last entry
                $this->getStackInstance()->popNamed($this->getStackerName());
        }
-}
 
-// [EOF]
-?>
+}
index 1d6132379899dc3886081cc9215519bae3427be7..37097c05b885865854f3ac28bb960bff1fec0f06 100644 (file)
@@ -32,7 +32,7 @@ use Org\Mxchange\CoreFramework\Template\Engine\BaseTemplateEngine;
  * 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 BaseXmlTemplateEngine extends BaseTemplateEngine {
+abstract class BaseXmlTemplateEngine extends BaseTemplateEngine {
        /**
         * Main nodes in the XML tree
         */
@@ -333,4 +333,5 @@ class BaseXmlTemplateEngine extends BaseTemplateEngine {
                //* DEBUG: */ echo "call: ".$methodName."<br />\n";
                call_user_func_array(array($this, $methodName), array());
        }
+
 }
index 9417e4c0687e4ce2093c5cbe27656d255033fc48..c04ed03b8ec6414840606a9a7c2193ab47303275 100644 (file)
@@ -62,6 +62,3 @@ $cfg->setConfigEntry('hub_bootstrap_nodes', 'tcp://188.138.90.169:9060');
 
 // CFG: ENABLE-FEATURE-FUSE
 // Enable this, if you have fuse.dll/so installed and want to access your node: $cfg->setConfigEntry('enable_feature_fuse', 'Y');
-
-// [EOF]
-?>
index 6dcca7e77c986dc9a6001f31617e92312b01f090..578379c6193ad765b80c6f6da7a2fed3da20c78c 100644 (file)
@@ -33,6 +33,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class DhtBootstrapNotAcceptedException extends FrameworkException {
+
        /**
         * The super constructor for all exceptions
         *
@@ -56,7 +57,5 @@ class DhtBootstrapNotAcceptedException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}
index b2ce616a80ff7d6d1430c61e721d114e03e2194b..9b24803b10b921ed92879649b9d606e40db7e8d8 100644 (file)
@@ -28,6 +28,7 @@ use Org\Mxchange\CoreFramework\Generic\FrameworkException;
  * along with this program. If not, see <http://www.gnu.org/licenses/>.
  */
 class NoRequestNodeListAttemptedException extends FrameworkException {
+
        /**
         * The super constructor for all exceptions
         *
@@ -47,7 +48,5 @@ class NoRequestNodeListAttemptedException extends FrameworkException {
                // Call parent exception constructor
                parent::__construct($message, $code);
        }
-}
 
-// [EOF]
-?>
+}