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


try {
//add modules
p1 = slaveNT.addNewModule("runEdys"); //as defined in conf.file
runEdys re = runEdysHelper.narrow(p1);
p2 = slaveUNIX.addNewModule("runCasc2d"); //as defined in conf.file
runCasc2d rc = runCasc2dHelper.narrow(p2);
//bind events
master.attachEvent(p2,"Casc2dDone","Casc2dDone",p1,"run");
master.attachEvent(p1,"EdysStarted","EdysStarted",p2,"run");
master.attachEvent(p1,"EdysDone","EdysDone",p2,"runAgain");
//invoke methods of runCasc2dImp
rc.run();
}
catch(COMM_FAILURE ex)
{System.err.println(ex.getMessage()); System.exit(1);}



© 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