projects
/
iot2.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Moving Java drivers; Creating iotruntime socket connections for C++; First version...
[iot2.git]
/
benchmarks
/
drivers
/
Cpp
/
LifxLightBulb
/
DeviceStateService.hpp
1
#ifndef _DEVICESTATESERVICE_HPP__
2
#define _DEVICESTATESERVICE_HPP__
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