using namespace std;
-class IoTRMIObject {
+class IoTRMIObject final {
public:
IoTRMIObject(int _port, bool* _bResult);
~IoTRMIObject();
char* IoTRMIObject::getMethodBytes() {
// Get method in bytes and update method length
- //fflush(NULL);
+ fflush(NULL);
methodBytes = rmiServer->receiveBytes(methodBytes, &methodLen);
fflush(NULL);
return methodBytes;