Adding callback for C++ (still has bug for return values); adding struct as method...
[iot2.git] / iotjava / iotrmi / C++ / IoTRMIObject.hpp
index 366c6ef1f3231a8053f1d7bcaf68c8e6cd33e3ce..084fb7b4f336a53f4e4d028f88a8098684623223 100644 (file)
@@ -106,7 +106,10 @@ void IoTRMIObject::sendReturnObj(void* retObj, string type) {
 char* IoTRMIObject::getMethodBytes() {
 
        // Get method in bytes and update method length
+       cout << "Got into getMethodBytes()" << endl;
+       //fflush(NULL);
        methodBytes = rmiServer->receiveBytes(methodBytes, &methodLen);
+       cout << "Got into getMethodBytes() 2" << endl;
        fflush(NULL);
        return methodBytes;
 }