All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Class atm.physical.Log
java.lang.Object
   |
   +----atm.physical.Log
  -  public class Log
  
-  extends Object
  
Manager for the ATM's internal log.  In a real ATM, this would 
  manage a physical device; in this simulation,  it uses classes 
  in package simulation to simulate the device.
  
  -  
	Log()
   -  Constructor
 
  
  -  
	logCashDispensed(Money)
   -  Log the dispensing of cash by the cash dispenser
  
  
 -  
	logEnvelopeAccepted()
   -  Log accepting an envelope.
  
 -  
	logResponse(Status)
   -  Log a response received from a message
  
  
 -  
	logSend(Message)
   -  Log the sending of a message to the bank
  
 
  
Log
 public Log()
  -  Constructor
 
  
logSend
 public void logSend(Message message)
  -  Log the sending of a message to the bank
  
    -  Parameters:
    
 -  message - the message to be logged
  
 
 
 
logResponse
 public void logResponse(Status response)
  -  Log a response received from a message
  
    -  Parameters:
    
 -  status - the status object returned by the bank in response
  
 
 
 
logCashDispensed
 public void logCashDispensed(Money amount)
  -  Log the dispensing of cash by the cash dispenser
  
    -  Parameters:
    
 -  amount - the amount of cash being dispensed
  
 
 
 
logEnvelopeAccepted
 public void logEnvelopeAccepted()
  -  Log accepting an envelope.  This method is only called if an envelope
  is actually received from the customer
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index