|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StationInterface
A station is an object which accepts other objects and is linked to a destination.
(c) copyright 2002-2005 Delft
University of Technology , the Netherlands.
See for project information
www.simulation.tudelft.nl
License of use: Lesser
General Public License (LGPL) , no warranty.
Field Summary | |
---|---|
static EventType |
RECEIVE_EVENT
RECEIVE_EVENT is fired whenever an entity enters the station |
static 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(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 |
---|
static final EventType RECEIVE_EVENT
static final EventType RELEASE_EVENT
Method Detail |
---|
StationInterface getDestination() throws RemoteException
RemoteException
- on network failurevoid receiveObject(Object object) throws RemoteException
object
- is the entity
RemoteException
- on network failurevoid setDestination(StationInterface destination) throws RemoteException
destination
- defines the next station in the model
RemoteException
- on network failure
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |