nl.tudelft.simulation.dsol.tutorial.section42
Class Warehouse

java.lang.Object
  extended by nl.tudelft.simulation.dsol.tutorial.section42.Warehouse
All Implemented Interfaces:
SellerInterface

public class Warehouse
extends Object
implements SellerInterface

A Warehouse
(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.

Version:
1.0 Dec 8, 2003
Author:
Peter Jacobs

Constructor Summary
Warehouse(DEVSSimulatorInterface simulator)
          constructs a new Warehouse
 
Method Summary
 void order(BuyerInterface buyer, long amount)
          order a requested amount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Warehouse

public Warehouse(DEVSSimulatorInterface simulator)
          throws RemoteException
constructs a new Warehouse

Parameters:
simulator - the simulator to schedule on
Throws:
RemoteException - on network failure
Method Detail

order

public void order(BuyerInterface buyer,
                  long amount)
Description copied from interface: SellerInterface
order a requested amount

Specified by:
order in interface SellerInterface
Parameters:
buyer - the requesting buyer
amount - the requested amount
See Also:
#order(nl.tudelft.simulation.dsol.tutorial.section42.BuyerInterface, long)


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