|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DVDDispenserEvent | |
---|---|
edu.uci.ics.inf111.dvdvendor.app | |
edu.uci.ics.inf111.dvdvendor.devices |
Uses of DVDDispenserEvent in edu.uci.ics.inf111.dvdvendor.app |
---|
Methods in edu.uci.ics.inf111.dvdvendor.app with parameters of type DVDDispenserEvent | |
---|---|
void |
DVDVendor.notifyDVDDispenserEvent(DVDDispenser dd,
DVDDispenserEvent event)
When the DVDDispenser detects a change in its state, this function is called to change the state of the system (transactionState). |
Uses of DVDDispenserEvent in edu.uci.ics.inf111.dvdvendor.devices |
---|
Methods in edu.uci.ics.inf111.dvdvendor.devices with parameters of type DVDDispenserEvent | |
---|---|
void |
DVDDispenserListener.notifyDVDDispenserEvent(DVDDispenser dd,
DVDDispenserEvent event)
This method is called on the Listener whenever a DVD dispenser event (receive or dispense) occurs. |
private void |
DVDDispenser.notifyObserver(DVDDispenserEvent event)
notifyObserver() passes the information of the event along to the observer objects as a DVDDispenserEvent, which includes the current bar code in the the DVD dispenser. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |