+#ifndef _CALLBACK_CBSTUB_HPP__
+#define _CALLBACK_CBSTUB_HPP__
+
#include <iostream>
#include "CallBackInterface.hpp"
#include "../IoTRMICall.hpp"
int CallBack_CBStub::printInt() {
+ cout << "Got here in printInt()" << endl;
int numParam = 0;
string sign = "intprintInt()";
string retType = "int";
int retVal = 0;
void* retObj = &retVal;
rmiCall->remoteCall(objectId, sign, retType, paramCls, paramObj, numParam, retObj);
+ cout << "Return value from printInt(): " << retVal << endl;
return retVal;
}
rmiCall->remoteCall(objectId, sign, retType, paramCls, paramObj, numParam, retObj);
}
+#endif