ef814d4db95b9052176cd5813071041a693f2e66
[iot2.git] / iotjava / iotrmi / C++ / basics / TestClassInterface_Skeleton.cpp
1 #include <iostream>
2 #include <string>
3 #include "TestClassInterface_Skeleton.hpp"
4 #include "TestClass.hpp"
5
6 using namespace std;
7
8 int main(int argc, char *argv[])
9 {
10         // First argument is port number
11         int port = atoi(argv[1]);
12         int argv2 = atoi(argv[2]);
13         float argv3 = atof(argv[3]);
14         string argv4 = string(argv[4]);
15
16         cout << port << endl;
17         cout << argv2 << endl;
18         cout << argv3 << endl;
19         cout << argv4 << endl;
20
21         //TestClassInterface *tc = new TestClass(argv1, argv2, argv3);
22         //TestClassInterface_Skeleton *tcSkel = new TestClassInterface_Skeleton(tc, port);
23
24         //delete tc;
25         //delete tcSkel;
26         return 0;
27 }