rockcairn logoRockCairn.com rockcairn logo
/************************************************************
* Compute.java
*
* Aaron Penner
* MidTerm
* Due 04/04/2000 11:59PM
*
* Remote Object Interface provider
* Input:
* Output:
**************************************************************/

//import java.rmi.*;
import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.*;

public interface Compute extends Remote{

public boolean isAccountLogin(int acc_num, String name, String passwd)
throws RemoteException;

public boolean getAccountValid (int acc_num, boolean verify)
throws RemoteException;

public boolean setAccountRemoval(int acc_num)
throws RemoteException;

public boolean setAccountAttb(int acc_num, String name, String passwd)
throws RemoteException;

public double addNewTrans(int acc_num, String date, String trans,
String desc, double amount)
throws RemoteException;

public int getCheckNum(int acc_num)
throws RemoteException;

public boolean setCheckNum(int acc_num)
throws RemoteException;

public Vector getTableItems(int acc_num)
throws RemoteException;
}