net.sourceforge.jasa.event
Class AgentPolledEvent

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

public class AgentPolledEvent
extends MarketEvent

An event that is fired whenever any agent is polled by an market for its shout via the requestShout() method.

 

Field Summary
protected  TradingAgent agent
           
 
Fields inherited from class net.sourceforge.jasa.event.MarketEvent
auction, pTime, time
 
Constructor Summary
AgentPolledEvent(Market auction, int time, TradingAgent agent)
           
 
Method Summary
 TradingAgent getAgent()
           
 
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

agent

protected TradingAgent agent
Constructor Detail

AgentPolledEvent

public AgentPolledEvent(Market auction,
                        int time,
                        TradingAgent agent)
Method Detail

getAgent

public TradingAgent getAgent()