Basic HTML version of Foils prepared July 5 98

Foil 130 PPT Slide

From FMS: Forces Modeling and Simulation Handout JSU HPC Summer Institute for Undergraduates, Jackson MS -- June 15 1998. by Wojtek Furmanski, Subhash Nair, Tom Pulikal


1 Example: This is an example of a module spawns an applet at the user side to input a text file and passes the file name to the next module which gets the image.
2 public MetaModule initialize() { mm = new MetaModule("Input Module "); //create an MetaModule instance
3 sp = new OutputPort(); // port for transmitting data to another module
4 mm.putPortID(sp.getPortID()); // registering a port which the module uses InetAddress local = java.net.InetAddress.getLocalHost(); //gets the host on //which the module reside hostName = local.getHostName(); //gets the host name of which the module //resides listener = new ServerSocket(0); //creates a new server socket for the module portNumber = listener.getLocalPort(); //port number on which the socket is //listening
5 contd..

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 Nov 28 1998