edu.cuny.cat.event
Class RegisteredTradersAnnouncedEvent

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

public class RegisteredTradersAnnouncedEvent
extends AuctionEvent

Informs the number of traders having been registered with a specialist on a day.

It is only used on the catp client side and is sent out when a day closes.

Version:
$Revision: 1.7 $
Author:
Jinzhong Niu

Field Summary
protected  int numOfTraders
           
protected  Specialist specialist
           
 
Fields inherited from class edu.cuny.cat.event.AuctionEvent
time
 
Constructor Summary
RegisteredTradersAnnouncedEvent(Specialist specialist, int numOfTraders)
           
 
Method Summary
 int getNumOfTraders()
           
 Specialist getSpecialist()
           
 
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

specialist

protected Specialist specialist

numOfTraders

protected int numOfTraders
Constructor Detail

RegisteredTradersAnnouncedEvent

public RegisteredTradersAnnouncedEvent(Specialist specialist,
                                       int numOfTraders)
Method Detail

getSpecialist

public Specialist getSpecialist()

getNumOfTraders

public int getNumOfTraders()