cscie160.project
Interface Account
- All Superinterfaces:
- java.rmi.Remote
- All Known Implementing Classes:
- AccountImpl, AccountImpl_Stub
- public interface Account
- extends java.rmi.Remote
getBalance
public float getBalance()
throws java.rmi.RemoteException
java.rmi.RemoteException
deposit
public void deposit(float mAmount)
throws ATMException,
java.rmi.RemoteException
ATMException
java.rmi.RemoteException
withdraw
public void withdraw(float mAmount)
throws ATMException,
java.rmi.RemoteException
ATMException
java.rmi.RemoteException
transfer
public void transfer(float mAmount,
cscie160.project.Account mTarget)
throws ATMException,
java.rmi.RemoteException
ATMException
java.rmi.RemoteException