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