3 #include "IoTRMICall.hpp"
7 int main(int argc, char *argv[])
10 const char* address = "localhost";
15 string retCls[] = { "int", "string", "int" };
19 void* retObj[] = { ¶m1, ¶m2, ¶m3 };
21 IoTRMICall *rc = new IoTRMICall(port, address, rev, &bResult);
22 char retBytes[] = { 0, 0, 4, -46, 0, 0, 0, 10, 116, 101, 115, 116, 115, 116, 114, 105, 110, 103, 0, 0, 21, 56 };
23 rc->getReturnObjects(retBytes, retCls, numRet, retObj);
24 cout << "Param1: " << param1 << endl;
25 cout << "Param2: " << param2 << endl;
26 cout << "Param3: " << param3 << endl;