summaryrefslogtreecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/ClientPingTime.java
blob: 7192fa6cd47599e71f404a1fcb9a2518450f5780 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
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;
	}

	@Override
	public String toString() {
		return "ClientPingTime [time=" + time + ", type=" + type + "]";
	}
}