Code for Example ATM System

This page contains links both to the actual Java code that implements the ATM simulation, and to javadoc documentation generated from the code. The code is organized into a collection of packages, as shown in the Package Diagram.

In addition to the classes and packages that have been discussed throughout the design, the GUI simulation makes use of a package (called simulation) that contains the details of the GUI, including the code that does the animation. This code takes the place of an actual hardware ATM, but has not been otherwise documented in this series of web pages. The design of the simulation package is discussed briefly, and its code may be accessed here if you want to see it.

PackageClass - source codeClass - javadoc
 
(Top-level)ATMMain.java(No javadoc for this class)
(Top-level)ATMApplet.java(No javadoc for this class)



atmATMATM
SessionSession



atm.physicalCardReaderCardReader
CashDispenserCashDispenser
CustomerConsoleCustomerConsole
EnvelopeAcceptorEnvelopeAcceptor
LogLog
NetworkToBankNetworkToBank
OperatorPanelOperatorPanel
ReceiptPrinterReceiptPrinter



atm.transactionTransactionTransaction
WithdrawalWithdrawal
DepositDeposit
TransferTransfer
InquiryInquiry



bankingAccountInformationAccountInformation
BalancesBalances
CardCard
MessageMessage
MoneyMoney
ReceiptReceipt
StatusStatus


 


Page of links for non frames-enabled browsers.

Valid XHTML 1.0!

Copyright © 2001 - Russell C. Bjork. Permission for non-commercial reproduction for educational use is hereby granted; all other rights are reserved.