runEdysImp
receiveStat(param3,param4,edysend);
getHTTPfile(ContentsFile,ContentsFileURL);if(ContentsFile.equals(“end”)) flag=false;else {
for i=0;i<nfiles; i++){ … translate names *.edy -> edys expectations
getHTTPfile(EdysInDir+fn, FileBaseURL+fn);}}
receiveStat(int, int, long){
readHTTPfile(StatFileURL);
… StartDay, DayDiff …optionswriteFile(OptionsFile,options); //options.txt
Process p = Runtime.getRuntime().exec(EdysExec);
p.waitFor();if(flag) { sendData(); fireEvent(“EdysDone”,ev);}}
sendData(){ createContents [OutContents] copy files from EdysOutDir to OutFileBase