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


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