All Packages Class Hierarchy This Package Previous Next Index
Class atm.physical.EnvelopeAcceptor
java.lang.Object
|
+----atm.physical.EnvelopeAcceptor
- public class EnvelopeAcceptor
- extends Object
Manager for the ATM's envelope acceptor. In a real ATM, this would
manage a physical device; in this simulation, it uses classes
in package simulation to simulate the device.
-
log
- Log in which to record receiving an envelope
-
EnvelopeAcceptor(Log)
- Constructor
-
acceptEnvelope()
- Accept an envelope from customer.
log
private Log log
- Log in which to record receiving an envelope
EnvelopeAcceptor
public EnvelopeAcceptor(Log log)
- Constructor
- Parameters:
- log - the log in which to record receiving an envelope
acceptEnvelope
public void acceptEnvelope() throws CustomerConsole. Cancelled
- Accept an envelope from customer.
- Throws: CustomerConsole. Cancelled
- if operation timed out or the
customer cancelled it
All Packages Class Hierarchy This Package Previous Next Index