Initial version of Lifx lightbulb controller in C++ for Fidelius
[iotcloud.git] / version2 / src / RPi / DeviceStateService.h
1 #ifndef _DEVICESTATESERVICE_H__
2 #define _DEVICESTATESERVICE_H__
3 #include <iostream>
4
5 class DeviceStateService {
6         private:
7                 int service;
8                 int64_t port;
9
10         public:
11
12                 DeviceStateService(int _service, long _port) {
13
14                         service = _service;
15                         port = _port;
16                 }
17
18
19                 ~DeviceStateService() {
20                 }
21
22
23                 int getService() {
24                         return service;
25                 }
26
27
28                 int64_t getPort() {
29                         return port;
30                 }
31 };
32 #endif