summaryrefslogtreecommitdiffstats
path: root/gearman/controllerWorker/ControllerWorker/ClientPingTime.java
blob: dadb399ec935e9f82263c07e2b013aa2a5c0b3f1 (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
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;
	}
}