1 #ifndef _LIGHTBULBTEST_STUB_HPP__
2 #define _LIGHTBULBTEST_STUB_HPP__
9 #include "IoTRMIComm.hpp"
10 #include "IoTRMICommClient.hpp"
11 #include "IoTRMICommServer.hpp"
13 #include "LightBulbTest.hpp"
17 class LightBulbTest_Stub : public LightBulbTest
23 // Synchronization variables
24 bool retValueReceived6 = false;
25 bool retValueReceived3 = false;
26 bool retValueReceived8 = false;
27 bool retValueReceived7 = false;
28 bool retValueReceived9 = false;
34 LightBulbTest_Stub(int _portSend, int _portRecv, const char* _skeletonAddress, int _rev, bool* _bResult);
35 LightBulbTest_Stub(IoTRMIComm* _rmiComm, int _objectId);
36 ~LightBulbTest_Stub();
38 double getBrightness();
41 void setColor(double _hue, double _saturation, double _brightness);
42 double getSaturation();
44 void setTemperature(int _temperature);