]> git.mxchange.org Git - jcore.git/commitdiff
Let generic class BaseClient implement general Client interface for better code style
authorRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 07:28:43 +0000 (09:28 +0200)
committerRoland Haeder <roland@mxchange.org>
Thu, 6 Aug 2015 07:28:43 +0000 (09:28 +0200)
Signed-off-by:Roland Häder <roland@mxchange.org>

src/org/mxchange/jcore/client/BaseClient.java
src/org/mxchange/jcore/manager/application/ManageableApplication.java

index dedc3fad06d1c25c5e63732dae32f0b09fc56ccc..1f724af9cb47aa83689daa5b0859a23d8f19c98d 100644 (file)
@@ -23,7 +23,7 @@ import org.mxchange.jcore.BaseFrameworkSystem;
  *
  * @author Roland Haeder
  */
-public abstract class BaseClient extends BaseFrameworkSystem {
+public abstract class BaseClient extends BaseFrameworkSystem implements Client {
 
        /**
         * Application is not running by default
@@ -39,6 +39,7 @@ public abstract class BaseClient extends BaseFrameworkSystem {
        /**
         * Shutdown method for all clients
         */
+       @Override
        public void doShutdown () {
                // Trace message
                this.getLogger().trace("CALLED!"); //NOI18N
@@ -56,6 +57,7 @@ public abstract class BaseClient extends BaseFrameworkSystem {
        /**
         * Enables the client
         */
+       @Override
        public final void enableIsRunning () {
                this.isRunning = true;
        }
@@ -66,6 +68,7 @@ public abstract class BaseClient extends BaseFrameworkSystem {
         *
         * @return Whether the application is still active
         */
+       @Override
        public final boolean isRunning () {
                // In console client, 0 may have been used
                return this.isRunning;
index 5a3460ed609402a51771dff37c272dae4e541b8e..a9a43f113f366cca0d3f328c67f3eea989ec6642 100644 (file)
@@ -19,6 +19,7 @@ package org.mxchange.jcore.manager.application;
 import org.mxchange.jcore.manager.Manageable;
 
 /**
+ * An interface for application manager
  *
  * @author Roland Haeder
  */