Basic HTML version of Foils prepared July 15 1998

Foil 25 Getting a handle to the DataBahn (RMI)

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


public void getDataBahnHandle() {
try {
_chatSession.createBahn(partyName, "Chat");
System.out.println("New Party created");
} catch (jdceRMIBahnException e) {
System.out.println("Exception in creations" +e);
} catch (Exception e) {
e.printStackTrace();
}
// long startTime = System.currentTimeMillis();
try {
_chatBahn = _chatSession.getDataBahnHandle(partyName, "Chat");
} catch (jdceRMIBahnException e) {
System.out.println("Exception in creations" +e);
} catch (Exception e) {
e.printStackTrace();
}
}



© 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