| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectedu.cuny.cat.server.ClockController
edu.cuny.cat.server.SynchronousClockController
public class SynchronousClockController
A clock controller that starts the game clock immediately when the game controller hands over the control and quits the simulation immediately after the game completes.
This is useful when experiments need to run without human intervention and with the server and all clients within a single local process.
SilentConsole| Field Summary | 
|---|
| Fields inherited from class edu.cuny.cat.server.ClockController | 
|---|
P_DEF_BASE | 
| Constructor Summary | |
|---|---|
SynchronousClockController()
 | 
|
| Method Summary | |
|---|---|
 void | 
eventOccurred(AuctionEvent event)
 | 
protected  void | 
startClock()
 | 
| Methods inherited from class edu.cuny.cat.server.ClockController | 
|---|
pauseClock, quitGame, resumeClock, start, stop, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public SynchronousClockController()
| Method Detail | 
|---|
protected void startClock()
startClock in class ClockControllerpublic void eventOccurred(AuctionEvent event)
eventOccurred in interface AuctionEventListenereventOccurred in class ClockController
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||