nl.tudelft.simulation.examples.dsol.mm1queue
Class Release

java.lang.Object
  extended by nl.tudelft.simulation.event.EventProducer
      extended by nl.tudelft.simulation.dsol.formalisms.flow.Station
          extended by nl.tudelft.simulation.dsol.formalisms.flow.Release
              extended by nl.tudelft.simulation.examples.dsol.mm1queue.Release
All Implemented Interfaces:
Serializable, StationInterface, EventProducerInterface

public class Release
extends Release

The Seize is an extended Seize block which computes the servicetime.
(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:
2.0 21.09.2003
Author:
Peter Jacobs
See Also:
Serialized Form

Field Summary
static EventType SERVICE_TIME_EVENT
          SERVICE_TIME_EVENT is fired when a customer is released
 
Fields inherited from class nl.tudelft.simulation.dsol.formalisms.flow.Station
destination, simulator
 
Fields inherited from class nl.tudelft.simulation.event.EventProducer
listeners
 
Fields inherited from interface nl.tudelft.simulation.dsol.formalisms.flow.StationInterface
RECEIVE_EVENT, RELEASE_EVENT
 
Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface
FIRST_POSITION, LAST_POSITION
 
Constructor Summary
Release(DEVSSimulatorInterface simulator, Resource resource)
          constructs a new Release
Release(DEVSSimulatorInterface simulator, Resource resource, double amount)
          constructs a new Release
 
Method Summary
 void releaseObject(Object object)
           
 
Methods inherited from class nl.tudelft.simulation.dsol.formalisms.flow.Release
receiveObject
 
Methods inherited from class nl.tudelft.simulation.dsol.formalisms.flow.Station
getDestination, setDestination
 
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
 
Methods inherited from interface nl.tudelft.simulation.event.EventProducerInterface
addListener, addListener, addListener, addListener, getEventTypes, removeListener
 

Field Detail

SERVICE_TIME_EVENT

public static final EventType SERVICE_TIME_EVENT
SERVICE_TIME_EVENT is fired when a customer is released

Constructor Detail

Release

public Release(DEVSSimulatorInterface simulator,
               Resource resource)
constructs a new Release

Parameters:
simulator - the simulator on which to schedule
resource - the resource to be released

Release

public Release(DEVSSimulatorInterface simulator,
               Resource resource,
               double amount)
constructs a new Release

Parameters:
simulator - the simulator on which to schedule
resource - the resource to be released
amount - the amount to be released
Method Detail

releaseObject

public void releaseObject(Object object)
                   throws RemoteException
Overrides:
releaseObject in class Station
Throws:
RemoteException
See Also:
#releaseObject(java.lang.Object)


Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.