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.


Variable Index

 o log
Log in which to record receiving an envelope

Constructor Index

 o EnvelopeAcceptor(Log)
Constructor

Method Index

 o acceptEnvelope()
Accept an envelope from customer.

Variables

 o log
 private Log log
Log in which to record receiving an envelope

Constructors

 o EnvelopeAcceptor
 public EnvelopeAcceptor(Log log)
Constructor

Parameters:
log - the log in which to record receiving an envelope

Methods

 o 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