summaryrefslogtreecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/ClientPingTime.java
diff options
context:
space:
mode:
authorBjörn Geiger2011-09-13 14:13:17 +0200
committerBjörn Geiger2011-09-13 14:13:17 +0200
commit1bde8c99400a938df4def7740c1ffac19b51d218 (patch)
tree9d91b343430a0a760f8073117e051e3afaab3988 /gearman/controllerWorker/ControllerWorker/ClientPingTime.java
parentrepeatType repeatEnd (diff)
downloadpoolctrl-1bde8c99400a938df4def7740c1ffac19b51d218.tar.gz
poolctrl-1bde8c99400a938df4def7740c1ffac19b51d218.tar.xz
poolctrl-1bde8c99400a938df4def7740c1ffac19b51d218.zip
vergessenes noch eingecheckt
Diffstat (limited to 'gearman/controllerWorker/ControllerWorker/ClientPingTime.java')
-rwxr-xr-xgearman/controllerWorker/ControllerWorker/ClientPingTime.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/gearman/controllerWorker/ControllerWorker/ClientPingTime.java b/gearman/controllerWorker/ControllerWorker/ClientPingTime.java
new file mode 100755
index 0000000..dadb399
--- /dev/null
+++ b/gearman/controllerWorker/ControllerWorker/ClientPingTime.java
@@ -0,0 +1,25 @@
+package ControllerWorker;
+
+public class ClientPingTime {
+ public static int WOL = 0;
+ public static int RESTARTSHUTDOWN = 1;
+ public static int RESTARTBOOT = 2;
+ public static int SHUTDOWN = 3;
+
+ private int type;
+ private long time;
+
+ public ClientPingTime(int type, long time) {
+ super();
+ this.type = type;
+ this.time = time;
+ }
+
+ public int getType() {
+ return type;
+ }
+
+ public long getTime() {
+ return time;
+ }
+}