summaryrefslogtreecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/ClientState.java
diff options
context:
space:
mode:
authorSebastian Wagner2011-09-02 17:12:23 +0200
committerSebastian Wagner2011-09-02 17:12:23 +0200
commit1de810e6dc390230f53060f927daa7f9fe5c935a (patch)
tree1bc9e4b44c826b365463989abb0d4fae7c1e5369 /gearman/controllerWorker/ControllerWorker/ClientState.java
parentall client states now in clientstates.java (diff)
downloadpoolctrl-1de810e6dc390230f53060f927daa7f9fe5c935a.tar.gz
poolctrl-1de810e6dc390230f53060f927daa7f9fe5c935a.tar.xz
poolctrl-1de810e6dc390230f53060f927daa7f9fe5c935a.zip
some changes
Diffstat (limited to 'gearman/controllerWorker/ControllerWorker/ClientState.java')
-rw-r--r--gearman/controllerWorker/ControllerWorker/ClientState.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/gearman/controllerWorker/ControllerWorker/ClientState.java b/gearman/controllerWorker/ControllerWorker/ClientState.java
index 0679ff3..5e63f16 100644
--- a/gearman/controllerWorker/ControllerWorker/ClientState.java
+++ b/gearman/controllerWorker/ControllerWorker/ClientState.java
@@ -71,6 +71,38 @@ public enum ClientState {
return "[" + this.state + "] Shutdown of the client has not been finished, due to an error.";
case SUCCESS:
return "[" + this.state + "] Shutdown of the client has been finished.";
+ case CLIENT_NOT_ALIVE:
+ return "[" + this.state + "] The client is not alive.";
+ case WAKE_ON_LAN_INITIALIZED:
+ return "[" + this.state + "] The wake on LAN has been initialized.";
+ case MAGIC_PACKET_SENT:
+ return "[" + this.state + "] The Magic packet has been sent.";
+ case PING_WOL_AGAIN:
+ return "[" + this.state + "] Doing ping after wake on LAN again and again, until client is alive or waitTime has been elapsed";
+ case PING_WOL_INITIALIZED:
+ return "[" + this.state + "] The ping after wake on LAN has been initialized.";
+ case CHECKOS_INITIALIZED:
+ return "[" + this.state + "] The check for the correct operating system has been initialized.";
+ case WRONG_OS:
+ return "[" + this.state + "] The wrong operating system is running.";
+ case A_USER_IS_LOGGED_IN:
+ return "[" + this.state + "] A user is logged in.";
+ case RESTART_CLIENT:
+ return "[" + this.state + "] No user is logged in.";
+ case RESTART_INITIALIZED:
+ return "[" + this.state + "] A restart of the client has been initialized.";
+ case RESTART_COMMAND_SENT:
+ return "[" + this.state + "] The restart command has been sent.";
+ case PING_RESTART_SHUTDOWN_AGAIN:
+ return "[" + this.state + "] Doing ping after shutdown again and again, until client is not alive or waitTime has been elapsed";
+ case PING_RESTART_SHUTDOWN_INITIALIZED:
+ return "[" + this.state + "] The ping after shutdown has been initialized.";
+ case CLIENT_IS_DOWN:
+ return "[" + this.state + "] The client has been shutted down.";
+ case PING_RESTART_BOOT_AGAIN:
+ return "[" + this.state + "] Doing ping after reboot again and again, until client is not alive or waitTime has been elapsed";
+ case PING_RESTART_BOOT_INITIALIZED:
+ return "[" + this.state + "] The ping after reboot has been initialized.";
default:
return "[" + this.state + "] Client is in unknown State";
}