cscie160.project
Interface ATM
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- ATMImpl, ATMImpl_Stub
- public interface ATM
- extends java.rmi.Remote
Method Summary |
void |
addListener(cscie160.project.ATMListener listener)
|
void |
deposit(cscie160.project.AccountInfo mAccountInfo,
float mAmount)
|
void |
distributeEvent(java.util.EventObject ev)
|
float |
getBalance(cscie160.project.AccountInfo mAccountInfo)
|
void |
transfer(cscie160.project.AccountInfo mSrcAccountInfo,
cscie160.project.AccountInfo mTgtAccountInfo,
float mAmount)
|
void |
withdraw(cscie160.project.AccountInfo mAccountInfo,
float mAmount)
|
addListener
public void addListener(cscie160.project.ATMListener listener)
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
distributeEvent
public void distributeEvent(java.util.EventObject ev)
throws java.rmi.RemoteException,
java.lang.Exception
java.rmi.RemoteException
java.lang.Exception
getBalance
public float getBalance(cscie160.project.AccountInfo mAccountInfo)
throws java.rmi.RemoteException,
SecurityException
java.rmi.RemoteException
SecurityException
deposit
public void deposit(cscie160.project.AccountInfo mAccountInfo,
float mAmount)
throws java.rmi.RemoteException,
ATMException,
SecurityException
java.rmi.RemoteException
ATMException
SecurityException
withdraw
public void withdraw(cscie160.project.AccountInfo mAccountInfo,
float mAmount)
throws java.rmi.RemoteException,
ATMException,
SecurityException
java.rmi.RemoteException
ATMException
SecurityException
transfer
public void transfer(cscie160.project.AccountInfo mSrcAccountInfo,
cscie160.project.AccountInfo mTgtAccountInfo,
float mAmount)
throws java.rmi.RemoteException,
ATMException,
SecurityException
java.rmi.RemoteException
ATMException
SecurityException