Basic HTML version of Foils prepared March 26 1999

Foil 66 Client code

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


1 try {
2 //add modules
3 p1 = slaveNT.addNewModule("runEdys"); //as defined in conf.file
4 runEdys re = runEdysHelper.narrow(p1);
5 p2 = slaveUNIX.addNewModule("runCasc2d"); //as defined in conf.file
6 runCasc2d rc = runCasc2dHelper.narrow(p2);
7 //bind events
8 master.attachEvent(p2,"Casc2dDone","Casc2dDone",p1,"run");
9 master.attachEvent(p1,"EdysStarted","EdysStarted",p2,"run");
10 master.attachEvent(p1,"EdysDone","EdysDone",p2,"runAgain");
11 //invoke methods of runCasc2dImp
12 rc.run();
13 }
14 catch(COMM_FAILURE ex)
15 {System.err.println(ex.getMessage()); System.exit(1);}

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