|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnl.tudelft.simulation.event.EventProducer
org.gscg.gameleader.interactionlayer.statistics.DemandStatistics
The DemandStatistics subscribes to demand changed events fired by the an actor. During execution of the simulation, all the bank account changed events are stored. When a player becomes online, its client side chart is updated. And as long as the player is online, future bank account changed events are stored and immediately sent to the client-side gui.
Copyright (c) 2003-2005 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information www.simulation.tudelft.nl . The source code and binary code of this software is proprietary information of Delft University of Technology.
Field Summary |
Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
Constructor Summary | |
DemandStatistics(GameLeaderInteractionLayer owner,
GameMarket pcMarket)
constructs a new DemandStatistics |
Method Summary | |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
void |
notify(nl.tudelft.simulation.event.EventInterface event)
|
Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DemandStatistics(GameLeaderInteractionLayer owner, GameMarket pcMarket)
owner
- the ownerpcMarket
- the pc marketMethod Detail |
public void announce(nl.tudelft.simulation.event.EventType eventType, boolean announce)
AnnounceInterface
announce
in interface AnnounceInterface
eventType
- the eventTypeannounce
- indicates whether this is an announceAnnounceInterface.announce(nl.tudelft.simulation.event.EventType,
boolean)
public void notify(nl.tudelft.simulation.event.EventInterface event) throws java.rmi.RemoteException
notify
in interface nl.tudelft.simulation.event.EventListenerInterface
java.rmi.RemoteException
EventListenerInterface.notify(nl.tudelft.simulation.event.EventInterface)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |