|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Bank
Remote interface for the bank services.
| Method Summary | |
|---|---|
void |
deposit(long accountNumber,
int amount,
long transactionID)
Do a deposit operation on given account. |
java.lang.Integer |
getBalance(long accNumber)
Get balance of an account. |
java.lang.String |
getName()
Get the name of a bank service. |
void |
withdraw(long accountNumber,
int amount,
long transactionID)
Do a withdraw operation on given account. |
| Method Detail |
|---|
java.lang.Integer getBalance(long accNumber)
throws java.rmi.RemoteException
accNumber - Account number
java.rmi.RemoteException
void withdraw(long accountNumber,
int amount,
long transactionID)
throws java.rmi.RemoteException
accountNumber - The account number to useamount - The amount to withdrawtransactionID - The transaction id to use
java.rmi.RemoteException
void deposit(long accountNumber,
int amount,
long transactionID)
throws java.rmi.RemoteException
accountNumber - The account number to useamount - The amount to deposittxn - The transaction id to use
java.rmi.RemoteException
java.lang.String getName()
throws java.rmi.RemoteException
java.rmi.RemoteException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||