Adding new policy, Java, and Cpp files for testing/debugging
[iot2.git] / iotjava / iotrmi / C++ / basics / TestClass_Skeleton.cpp
diff --git a/iotjava/iotrmi/C++/basics/TestClass_Skeleton.cpp b/iotjava/iotrmi/C++/basics/TestClass_Skeleton.cpp
new file mode 100644 (file)
index 0000000..cea5030
--- /dev/null
@@ -0,0 +1,20 @@
+#include <iostream>
+#include <string>
+#include "TestClassInterface_Skeleton.hpp"
+#include "TestClass.hpp"
+
+using namespace std;
+
+int main(int argc, char *argv[])
+{
+       TestClassInterface *tc;
+       TestClassInterface_Skeleton *tcSkel;
+
+       int port = 5010;
+       tc = new TestClass(3, 5.0, "7911");
+       tcSkel = new TestClassInterface_Skeleton(tc, port);
+
+       delete tc;
+       delete tcSkel;
+       return 0;
+}