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() Log()
-  Constructor
   
  -   logCashDispensed(Money) logCashDispensed(Money)
-  Log the dispensing of cash by the cash dispenser
  
  
-   logEnvelopeAccepted() logEnvelopeAccepted()
-  Log accepting an envelope.
  
-   logResponse(Status) logResponse(Status)
-  Log a response received from a message
  
  
-   logSend(Message) logSend(Message)
-  Log the sending of a message to the bank
  
   
 Log
Log
 public Log()
  -  Constructor
 
   
 logSend
logSend
 public void logSend(Message message)
  -  Log the sending of a message to the bank
   
- 
    -  Parameters:
    
-  message - the message to be logged
  
 
 logResponse
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
logCashDispensed
 public void logCashDispensed(Money amount)
  -  Log the dispensing of cash by the cash dispenser
   
- 
    -  Parameters:
    
-  amount - the amount of cash being dispensed
  
 
 logEnvelopeAccepted
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