nl.tudelft.simulation.dsol.tutorial.section42
Class Customer
java.lang.Object
nl.tudelft.simulation.dsol.tutorial.section42.Customer
- All Implemented Interfaces:
- BuyerInterface
public class Customer
- extends Object
- implements BuyerInterface
A Customer
(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
Method Summary |
void |
receiveProduct(long amount)
receive the ordered Product |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Customer
public Customer(DEVSSimulatorInterface simulator,
SellerInterface retailer)
throws RemoteException
- constructs a new Customer
- Parameters:
simulator
- the simulator to schedule onretailer
- the retailer to buy at. In more advanced examples, we
would look up this retailer at a yellow page.
- Throws:
RemoteException
- on network failure
receiveProduct
public void receiveProduct(long amount)
- Description copied from interface:
BuyerInterface
- receive the ordered Product
- Specified by:
receiveProduct
in interface BuyerInterface
- Parameters:
amount
- the amount to receive- See Also:
#receiveProduct(long)
Copyright © 2002-2010 Delft University of Technology, the Netherlands. All Rights Reserved.