Basic HTML version of Foils prepared July 5 98

Foil 48 Getting a handle to the DataBahn (RMI)

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 public void getDataBahnHandle() {
2 try {
3 _chatSession.createBahn(partyName, "Chat");
4 System.out.println("New Party created");
5 } catch (jdceRMIBahnException e) {
6 System.out.println("Exception in creations" +e);
7 } catch (Exception e) {
8 e.printStackTrace();
9 }
10
11 // long startTime = System.currentTimeMillis();
12
13 try {
14 _chatBahn = _chatSession.getDataBahnHandle(partyName, "Chat");
15 } catch (jdceRMIBahnException e) {
16 System.out.println("Exception in creations" +e);
17 } catch (Exception e) {
18 e.printStackTrace();
19 }
20 }

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