|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.Observable
server.Timer
Observable class to interrupt the DeviceThread every second.
DeviceThread| Constructor Summary | |
Timer(long deviceID)
Construct a Timer object for the given Device, via the deviceID. |
|
| Method Summary | |
void |
run()
Sleep for one second, wake, and notify the DeviceThread who spawned us. |
| Methods inherited from class java.util.Observable |
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Timer(long deviceID)
deviceID - int value of the Device's deviceID| Method Detail |
public void run()
run in interface java.lang.RunnableRunnable.run()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||