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 + "]"; } }