methodToBytes(objectId, methodId, paramCls, paramObj, method, numParam);
// Send bytes
fflush(NULL);
+ cout << "Length: " << len << endl;
+ IoTRMIUtil::printBytes(method, len, false);
rmiClient->sendBytes(method, len);
fflush(NULL);
// Receive return value and return it to caller