cscie160.project
Interface Account

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
AccountImpl, AccountImpl_Stub

public interface Account
extends java.rmi.Remote


Method Summary
 void deposit(float mAmount)
           
 float getBalance()
           
 void transfer(float mAmount, cscie160.project.Account mTarget)
           
 void withdraw(float mAmount)
           
 

Method Detail

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