edu.cuny.cat.event
Class DayStatPassEvent

java.lang.Object
  extended by edu.cuny.cat.event.AuctionEvent
      extended by edu.cuny.cat.event.DayStatPassEvent
All Implemented Interfaces:
edu.cuny.event.Event<AuctionEventListener>

public class DayStatPassEvent
extends AuctionEvent

An event that is fired after the end of every trading day to notify GameReports so that they may calculate various stats.

Since game reports may rely on each other to do their own calculation, multiple passes of event notification of this kind enables reports that act during later passes to make use of results produced in the early passes.

Version:
$Revision: 1.6 $
Author:
Jinzhong Niu
See Also:
DayInitPassEvent, RoundStatPassEvent

Field Summary
static int END_PASS
           
static int FIRST_PASS
           
protected  int pass
           
static int SECOND_PASS
           
static int START_PASS
           
static int THIRD_PASS
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
DayStatPassEvent(int pass)
           
 
Method Summary
 int getPass()
           
 void setPass(int pass)
           
 
Methods inherited from class edu.cuny.cat.event.AuctionEvent
getDay, getRound, getTick, getTime, notify, setTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

START_PASS

public static final int START_PASS
See Also:
Constant Field Values

FIRST_PASS

public static final int FIRST_PASS
See Also:
Constant Field Values

SECOND_PASS

public static final int SECOND_PASS
See Also:
Constant Field Values

THIRD_PASS

public static final int THIRD_PASS
See Also:
Constant Field Values

END_PASS

public static final int END_PASS
See Also:
Constant Field Values

pass

protected int pass
Constructor Detail

DayStatPassEvent

public DayStatPassEvent(int pass)
Method Detail

getPass

public int getPass()

setPass

public void setPass(int pass)