receiveData(){ |
receiveStat(param3,param4,edysend); |
receiveEDY(); |
run(); } |
receiveEDY(){ |
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 ...options writeFile(OptionsFile,options); //options.txt |
run(){ |
Process p = Runtime.getRuntime().exec(EdysExec); |
p.waitFor(); if(flag) { sendData(); fireEvent("EdysDone",ev);} } |
sendData(){ createContents [OutContents] copy files from EdysOutDir to OutFileBase |
} |
Casc2dDone |
event |
EdysDone |
event |