www.pudn.com > ssd8-exc4.rar > RMIInterface.java
import java.rmi.*;
import java.util.*;
public interface RMIInterface extends Remote {
public boolean login(String username, String password)
throws RemoteException;
public boolean register(String username, String password)
throws RemoteException;
public boolean add(String username, String password, String otherusername,
String title, Date start, Date end) throws RemoteException;
public boolean delete(String username, String password, int id)
throws RemoteException;
public boolean clear(String username, String password)
throws RemoteException;
public Vector query(String username, String password, Date start,
Date end) throws RemoteException;
}