|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.dsol.tutorial.section42.Customer
A Customer
(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
| Constructor Summary | |
Customer(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
SellerInterface retailer)
constructs a new Customer |
|
| 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 |
| Constructor Detail |
public Customer(nl.tudelft.simulation.dsol.simulators.DEVSSimulatorInterface simulator,
SellerInterface retailer)
throws java.rmi.RemoteException
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.
java.rmi.RemoteException - on network failure| Method Detail |
public void receiveProduct(long amount)
BuyerInterface
receiveProduct in interface BuyerInterfaceamount - the amount to receive#receiveProduct(long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||