edu.cmu.emulator.sched
Class SchedClient
java.lang.Object
edu.cmu.emulator.sched.SchedClient
- All Implemented Interfaces:
- Runnable
public class SchedClient
- extends Object
- implements Runnable
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
userToken
private String userToken
schedServerHost
private String schedServerHost
schedServer
private SchedServer schedServer
slotEndMillis
private long slotEndMillis
running
private boolean running
bypassToken
public static final boolean bypassToken
debug
private static final boolean debug
- See Also:
- Constant Field Values
REFRESH_INTERVAL
private static final int REFRESH_INTERVAL
- See Also:
- Constant Field Values
SLOT_WARN_DELTA
private static final long SLOT_WARN_DELTA
- See Also:
- Constant Field Values
SchedClient
public SchedClient(String userToken,
String schedServerHost)
SchedClient
public SchedClient(String userToken,
String schedServerHost,
boolean refresh)
getMillisRemaining
private long getMillisRemaining()
isScheduled
public boolean isScheduled()
millisRemaining
public long millisRemaining()
run
public void run()
- Specified by:
run
in interface Runnable
Copyright © 2013. All Rights Reserved.