Fixing bug for return value from callback in C++ (sendReturnObj is called twice)...
[iot2.git] / iotjava / iotrmi / C++ / IoTRMIObject.hpp
index 084fb7b4f336a53f4e4d028f88a8098684623223..830be11bdb2d8b087e9c6b008187363e1d2e18c5 100644 (file)
@@ -106,10 +106,8 @@ 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;
 }