net.sourceforge.jasa.event
Class OrderReceivedEvent

java.lang.Object
  extended by SimEvent
      extended by net.sourceforge.jasa.event.MarketEvent
          extended by net.sourceforge.jasa.event.OrderReceivedEvent

public class OrderReceivedEvent
extends MarketEvent

An event that is fired every time a shout is received in an market (may not be allowed to place eventually), in contrast to OrderPlacedEvent, which represents a shout is received and placed.

 

Field Summary
protected  Order shout
          The shout that led to this event.
 
Fields inherited from class net.sourceforge.jasa.event.MarketEvent
auction, pTime, time
 
Constructor Summary
OrderReceivedEvent(Market auction, int time, Order shout)
           
 
Method Summary
 Order getShout()
           
 
Methods inherited from class net.sourceforge.jasa.event.MarketEvent
getAuction, getPhysicalTime, getTime, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

shout

protected Order shout
The shout that led to this event.

Constructor Detail

OrderReceivedEvent

public OrderReceivedEvent(Market auction,
                          int time,
                          Order shout)
Method Detail

getShout

public Order getShout()