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


if (nameService == null) {
System.out.println("nameService = null");
return;
}
NameComponent[] collabName =
{ new NameComponent("Collaboration", partyName+"Chat"+"Coordinator")};
_chatBahn=
jdce.byteways.dataBahnHelper.narrow (nameService.resolve(collabName));
} catch(Exception e) {
System.out.println("Exception: " + e);
}
long stopTime = System.currentTimeMillis();
System.out.println("Avg Ping to invoke = "
+ ((stopTime - startTime)/1000f) + " msecs");
}



© 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