cscie160.hw5
Interface ATM

All Superinterfaces:
java.rmi.Remote
All Known Implementing Classes:
ATMImpl, ATMImpl_Stub

public interface ATM
extends java.rmi.Remote


Method Summary
 void deposit(int mAccountNum, float mAmount)
           
 float getBalance(int mAccountNum)
           
 void withdraw(int mAccountNum, float amount)
           
 

Method Detail

deposit

public void deposit(int mAccountNum,
                    float mAmount)
             throws java.rmi.RemoteException,
                    ATMException
java.rmi.RemoteException
ATMException

withdraw

public void withdraw(int mAccountNum,
                     float amount)
              throws java.rmi.RemoteException,
                     ATMException
java.rmi.RemoteException
ATMException

getBalance

public float getBalance(int mAccountNum)
                 throws java.rmi.RemoteException,
                        ATMException
java.rmi.RemoteException
ATMException