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