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;
}