|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
A station is an object which accepts other objects and is linked to a destination.
(c) copyright 2003 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: General Public
License (GPL) , no warranty
| Field Summary | |
static nl.tudelft.simulation.event.EventType |
RECEIVE_EVENT
RECEIVE_EVENT is fired whenever an entity enters the station |
static nl.tudelft.simulation.event.EventType |
RELEASE_EVENT
RECEIVE_EVENT is fired whenever an entity leaves the station |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Method Summary | |
StationInterface |
getDestination()
Method getDestination. |
void |
receiveObject(java.lang.Object object)
receives an object is invoked whenever an entity arrives |
void |
setDestination(StationInterface destination)
sets the destination of this object |
| Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
addListener, addListener, addListener, addListener, getEventTypes, removeListener |
| Field Detail |
public static final nl.tudelft.simulation.event.EventType RECEIVE_EVENT
public static final nl.tudelft.simulation.event.EventType RELEASE_EVENT
| Method Detail |
public StationInterface getDestination()
throws java.rmi.RemoteException
java.rmi.RemoteException - on network failure
public void receiveObject(java.lang.Object object)
throws java.rmi.RemoteException
object - is the entity
java.rmi.RemoteException - on network failure
public void setDestination(StationInterface destination)
throws java.rmi.RemoteException
destination - defines the next station in the model
java.rmi.RemoteException - on network failure
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||