23 |
|
CorbaClientListener lRef = CorbaClientListenerHelper.narrow(o); |
24 |
|
|
25 |
|
boolean result; |
26 |
< |
CorbaHandler handler = lRef.connect("CorbaTest", client); |
26 |
> |
System.out.println(" -- connecting -- "); |
27 |
> |
CorbaControlHandler handler = lRef.connect(client); |
28 |
> |
System.out.println(" -- starting data -- "); |
29 |
|
result = handler.startData(); |
30 |
< |
System.out.println(result); |
30 |
> |
System.out.println(" -- sleep for 15s -- "); |
31 |
|
Thread.sleep(15000); |
32 |
+ |
System.out.println(" -- stopping data -- "); |
33 |
|
result = handler.stopData(); |
34 |
< |
System.out.println(result); |
32 |
< |
|
33 |
< |
_refman.getORB().run(); |
34 |
> |
System.out.println(" -- completed -- "); |
35 |
|
|
36 |
|
} |
37 |
|
catch (Exception e) { |