import java.rmi.*;
import java.rmi.server.*;
public class ServerImpl extends UnicastRemoteObject implements ServerIntf {
    public ServerImpl() throws RemoteException {}
    public void flush() throws RemoteException {
	Runtime r = Runtime.getRuntime();
	Process p = null;
	try  {
	    p = r.exec("/usr/local/distribution/flushServer");
	}  catch (Exception e)  {
	    System.out.println("Error executing script");
	}
    }
}

