Making sure that sample stub and skeleton classes inherit from a common interface
[iot2.git] / iotjava / iotrmi / Java / sample / TestClass_Stub.java
index 39411a75f64f8bc4927f7e11291923d203916231..31d20a2fc87e3e1ece8d29d0ab29659ae39185d5 100644 (file)
@@ -159,9 +159,9 @@ public class TestClass_Stub implements TestClassInterface {
                System.out.println("Return value: " + tcstub.setACAndGetA("string", 123));
                System.out.println("Return value: " + tcstub.sumArray(new String[] { "123", "456", "987" }));
 
                System.out.println("Return value: " + tcstub.setACAndGetA("string", 123));
                System.out.println("Return value: " + tcstub.sumArray(new String[] { "123", "456", "987" }));
 
-               CallBack cb = new CallBack(23);
+               /*CallBack cb = new CallBack(23);
                tcstub.registerCallback(cb);
                tcstub.registerCallback(cb);
-               System.out.println("Return value from callback: " + tcstub.callBack());
+               System.out.println("Return value from callback: " + tcstub.callBack());*/
                //System.out.println("Return value: " + tcstub.setAndGetA(1234));
        }
 }
                //System.out.println("Return value: " + tcstub.setAndGetA(1234));
        }
 }