|
|||||||||||
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.common.interactionlayer.ThreadedEventProducer
The ThreadedEventProducer extends the EventProducer. A different thread than the one used in the simulation is used to fire events to a client-side EventListener. Whenever the processing of an event client-side takes a long time, the simulation will continue and not wait. Meanwhile, other events are stored until the 'slow' event has been processed client-side. After this, the ThreadedEventProducer will try to catch up.
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.
EventProducer
,
Serialized FormField Summary | |
static DijkstraSemaphore |
DIJKSTRASEMAPHORE
the dijkstra semaphore, value is adjusted in the model class |
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 | |
ThreadedEventProducer()
constructs a new ThreadedEventProducer |
Method Summary | |
protected nl.tudelft.simulation.event.EventInterface |
fireEvent(nl.tudelft.simulation.event.EventListenerInterface listener,
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, 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 transient DijkstraSemaphore DIJKSTRASEMAPHORE
Constructor Detail |
public ThreadedEventProducer()
Method Detail |
protected nl.tudelft.simulation.event.EventInterface fireEvent(nl.tudelft.simulation.event.EventListenerInterface listener, nl.tudelft.simulation.event.EventInterface event) throws java.rmi.RemoteException
java.rmi.RemoteException
EventProducer.fireEvent(nl.tudelft.simulation.event.EventListenerInterface,
nl.tudelft.simulation.event.EventInterface)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |