1 | receiveData(){ |
2 | receiveStat(param3,param4,edysend); |
3 | receiveEDY(); |
4 | run(); } |
5 | receiveEDY(){ |
6 | getHTTPfile(ContentsFile,ContentsFileURL); if(ContentsFile.equals("end")) flag=false; else { |
7 | for i=0;i<nfiles; i++){ ... translate names *.edy -> edys expectations |
8 | getHTTPfile(EdysInDir+fn, FileBaseURL+fn);} } |
9 | receiveStat(int, int, long){ |
10 | readHTTPfile(StatFileURL); |
11 | ... StartDay, DayDiff ...options writeFile(OptionsFile,options); //options.txt |
12 | run(){ |
13 | Process p = Runtime.getRuntime().exec(EdysExec); |
14 | p.waitFor(); if(flag) { sendData(); fireEvent("EdysDone",ev);} } |
15 | sendData(){ createContents [OutContents] copy files from EdysOutDir to OutFileBase |
16 | } |
17 | Casc2dDone |
18 | event |
19 | EdysDone |
20 | event |