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
-  Log in which to record receiving an envelope
   
  -   EnvelopeAcceptor(Log) EnvelopeAcceptor(Log)
-  Constructor
  
   
  -   acceptEnvelope() acceptEnvelope()
-  Accept an envelope from customer.
   
 log
log
 private Log log
  -  Log in which to record receiving an envelope
 
   
 EnvelopeAcceptor
EnvelopeAcceptor
 public EnvelopeAcceptor(Log log)
  -  Constructor
   
- 
    -  Parameters:
    
-  log - the log in which to record receiving an envelope
  
 
   
 acceptEnvelope
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