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 | } |