FileDocCategorySizeDatePackage
Account.javaAPI DocExample461Thu Nov 08 00:23:04 GMT 2001com.ora.rmibook.chapter17.basic

Account.java

package com.ora.rmibook.chapter17.basic;


import com.ora.rmibook.chapter17.basic.valueobjects.*;
import java.rmi.*;


public interface Account extends Remote {
    public Money getBalance()
        throws RemoteException;
    public void makeDeposit(Money amount)
        throws RemoteException, NegativeAmountException;
    public void makeWithdrawal(Money amount)
        throws RemoteException, OverdraftException, NegativeAmountException;
}