cscie160.project.account
Interface Account

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

public interface Account
extends java.rmi.Remote

By David Cheung

CSCIE160 Project

Due 05-16-2001

Account Interface class:

Interface for account operations: getBalance, deposit, and withdraw.

The actual implementation is in AccountImpl class instead.

Since:
04-07-2001

Method Summary
 void deposit(float amount)
           
 float getBalance()
           
 void withdraw(float amount)
           
 

Method Detail

getBalance

public float getBalance()
                 throws java.rmi.RemoteException

deposit

public void deposit(float amount)
             throws java.rmi.RemoteException

withdraw

public void withdraw(float amount)
              throws java.rmi.RemoteException