Basic HTML version of Foils prepared March 26 1999

Foil 109 runEdysImp

From Use of WebFlow to build Problem Solving Environments CEWES Training on WebFlow at Vicksburg -- March 9 1999. by Tom Haupt


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

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Sat Mar 27 1999