
import java.rmi.*;
import java.rmi.server.*;

public interface BankAccount extends Remote{
        public void deposit (float amount) throws RemoteException;
        public void withdraw (float amount) 
	  throws OverdrawnException, RemoteException;
        public float balance() throws RemoteException;
        public void addMonitor(BankAccountMonitor monitor)
          throws RemoteException;
}
