nl.tudelft.simulation.examples.dsol.timesharedcomputer
Class Terminal
java.lang.Object
nl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.dsol.formalisms.flow.Station
nl.tudelft.simulation.examples.dsol.timesharedcomputer.Terminal
- All Implemented Interfaces:
- Serializable, StationInterface, EventProducerInterface
public class Terminal
- extends Station
The Terminal as published in Simulation Modeling and Analysis by A.M. Law &
W.D. Kelton section 1.4 and 2.4.
(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
- Version:
- 1.1 02.04.2003
- Author:
- Peter
Jacobs
- See Also:
- Serialized Form
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 |
SERVICE_TIME
public static final EventType SERVICE_TIME
- SERVICE_TIME is fired on job completion
Terminal
public Terminal(DEVSSimulatorInterface simulator,
StationInterface cpu,
DistContinuous thinkDelay,
DistContinuous jobSize)
throws RemoteException
- constructs a new Terminal
- Parameters:
simulator
- the simulatorcpu
- the destinationthinkDelay
- the delayjobSize
- in time
- Throws:
RemoteException
- on network failure
receiveObject
public void receiveObject(Object object)
- Specified by:
receiveObject
in interface StationInterface
- Overrides:
receiveObject
in class Station
- See Also:
StationInterface.receiveObject(java.lang.Object)
releaseObject
public void releaseObject(Object object)
throws RemoteException
- Overrides:
releaseObject
in class Station
- Throws:
RemoteException
- See Also:
Station.releaseObject(java.lang.Object)
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.