From bff36beb61e8a8b8be53beda6651e38feb344af1 Mon Sep 17 00:00:00 2001 From: Roland Haeder Date: Thu, 6 Aug 2015 09:28:43 +0200 Subject: [PATCH] =?utf8?q?Let=20generic=20class=20BaseClient=20implement?= =?utf8?q?=20general=20Client=20interface=20for=20better=20code=20style=20?= =?utf8?q?Signed-off-by:Roland=20H=C3=A4der=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/org/mxchange/jcore/client/BaseClient.java | 5 ++++- .../jcore/manager/application/ManageableApplication.java | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/org/mxchange/jcore/client/BaseClient.java b/src/org/mxchange/jcore/client/BaseClient.java index dedc3fa..1f724af 100644 --- a/src/org/mxchange/jcore/client/BaseClient.java +++ b/src/org/mxchange/jcore/client/BaseClient.java @@ -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; diff --git a/src/org/mxchange/jcore/manager/application/ManageableApplication.java b/src/org/mxchange/jcore/manager/application/ManageableApplication.java index 5a3460e..a9a43f1 100644 --- a/src/org/mxchange/jcore/manager/application/ManageableApplication.java +++ b/src/org/mxchange/jcore/manager/application/ManageableApplication.java @@ -19,6 +19,7 @@ package org.mxchange.jcore.manager.application; import org.mxchange.jcore.manager.Manageable; /** + * An interface for application manager * * @author Roland Haeder */ -- 2.39.5