|
|||||||||||
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.singleuser.interactionlayer.business.statistics.CustomerStatistics
The CustomerStatistics subscribes to messages between a supplier and a customer. It collects the messages sent between these actors and based on their content statistics are generated. One might think of for example the average amount of an order per customer per product.
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 | |
static nl.tudelft.simulation.event.EventType |
CUSTOMER_STATISTICS_NEW_PERSISTENT
fired to update a customer client-side statistic |
static nl.tudelft.simulation.event.EventType |
CUSTOMER_STATISTICS_SENT_GUI_UPDATE
fired in case of announce event when a gui is initialized |
static nl.tudelft.simulation.event.EventType |
ORDERCOMMIT_SENT
fired when an order commitment has been sent |
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 | |
CustomerStatistics(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator,
SingleUserInteractionLayerInterface singleUserInteractionLayer)
constructs a new CustomerStatistics |
Method Summary | |
void |
announce(nl.tudelft.simulation.event.EventType eventType,
boolean announce)
Method announce. |
nl.tudelft.simulation.event.EventInterface |
fireEvent(nl.tudelft.simulation.event.EventInterface event)
|
java.util.Map |
getClientPersistentEventTypes()
|
boolean |
handleContent(java.io.Serializable content)
|
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, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final nl.tudelft.simulation.event.EventType ORDERCOMMIT_SENT
public static final nl.tudelft.simulation.event.EventType CUSTOMER_STATISTICS_NEW_PERSISTENT
public static final nl.tudelft.simulation.event.EventType CUSTOMER_STATISTICS_SENT_GUI_UPDATE
Constructor Detail |
public CustomerStatistics(nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator, SingleUserInteractionLayerInterface singleUserInteractionLayer)
simulator
- the simulatorsingleUserInteractionLayer
- the single user interaction layerMethod Detail |
public boolean handleContent(java.io.Serializable content)
handleContent
in interface nl.tudelft.simulation.content.HandlerInterface
HandlerInterface.handleContent(java.io.Serializable)
public nl.tudelft.simulation.event.EventInterface fireEvent(nl.tudelft.simulation.event.EventInterface event)
EventProducer.fireEvent(nl.tudelft.simulation.event.EventInterface)
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 java.util.Map getClientPersistentEventTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |