Basic HTML version of Foils prepared July 15 1998

Foil 24 Getting a handle to the DataBahn (CORBA) II

From Java Distributed Collaborative Environment as a CORBA and RMI Example Tutorial: ITEA HPCC Conference Aberdeen Md. -- July 13 98. by Shrideep Pallickara


1 if (nameService == null) {
2 System.out.println("nameService = null");
3 return;
4 }
5 NameComponent[] collabName =
6 { new NameComponent("Collaboration", partyName+"Chat"+"Coordinator")};
7
8 _chatBahn=
9 jdce.byteways.dataBahnHelper.narrow (nameService.resolve(collabName));
10 } catch(Exception e) {
11 System.out.println("Exception: " + e);
12 }
13 long stopTime = System.currentTimeMillis();
14 System.out.println("Avg Ping to invoke = "
15 + ((stopTime - startTime)/1000f) + " msecs");
16 }

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