|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
By David Cheung
CSCIE160 project
Due: 05-16-2001
ATM Interface
Provides the interface to interact with the ATMImpl class and the client side.
Added transfer function to support transfer.
Method Summary | |
void |
addCallBack(ATMListener aListener)
|
void |
deposit(AccountInfo anAccount,
float amount)
|
float |
getBalance(AccountInfo anAccount)
|
void |
transfer(AccountInfo fromAccount,
AccountInfo toAccount,
float amount)
|
void |
withdraw(AccountInfo anAccount,
float amount)
|
Method Detail |
public void deposit(AccountInfo anAccount, float amount) throws java.rmi.RemoteException, UnpermittedTransactionException, SecurityInvalidPinException
public void withdraw(AccountInfo anAccount, float amount) throws java.rmi.RemoteException, UnpermittedTransactionException, OverdrawnException, SecurityInvalidPinException
public float getBalance(AccountInfo anAccount) throws java.rmi.RemoteException, UnpermittedTransactionException, SecurityInvalidPinException
public void transfer(AccountInfo fromAccount, AccountInfo toAccount, float amount) throws java.rmi.RemoteException, UnpermittedTransactionException, OverdrawnException, SecurityInvalidPinException
public void addCallBack(ATMListener aListener) throws java.rmi.RemoteException
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |