www.pudn.com > rmi_whiteboard.rar > eboard.java


package whiteboard; 
import java.rmi.*; 
import java.util.Vector; 
 
public interface eboard extends Remote  
{ 
  	void add(shape g) throws RemoteException; 
    Vector getall()throws RemoteException; 
    int regist(CallBack callback) throws RemoteException; 
    void deregist(int callbackid) throws RemoteException; 
    void clear() throws RemoteException; 
}