Adding callback for C++ (still has bug for return values); adding struct as method...
[iot2.git] / iotjava / iotrmi / C++ / sample / TestClass_Skeleton.cpp
index 23079c8a52e8919a2aea9e2ffa11f5c104a42c2f..665bd16faad67c7369a6b9542962307c21545cf9 100644 (file)
@@ -1,16 +1,17 @@
 #include <iostream>
 #include <string>
 #include "TestClass_Skeleton.hpp"
+#include "TestClass.hpp"
 
 using namespace std;
 
 int main(int argc, char *argv[])
 {
 
-       int port = 5010;
+       int port = 5011;
        TestClassInterface *tc = new TestClass(3, 5.0, "7911");
        TestClass_Skeleton *tcSkel = new TestClass_Skeleton(tc, port);
-       tcSkel->waitRequestInvokeMethod();
+       //tcSkel->waitRequestInvokeMethod();
 
        delete tc;
        delete tcSkel;