]> git.stg.codes - ssmd.git/blob - src/subscriber.cpp
Fix compilation issues with new cURL
[ssmd.git] / src / subscriber.cpp
1 #include "subscriber.h"
2
3 using GTS::Subscriber;
4
5 Subscriber::Subscriber(const std::string & mac,
6                        unsigned port,
7                        unsigned upShape,
8                        unsigned downShape,
9                        unsigned upBurst,
10                        unsigned downBurst)
11     : _mac(mac),
12       _port(port),
13       _upShape(upShape),
14       _downShape(downShape),
15       _upBurst(upBurst),
16       _downBurst(downBurst)
17 {
18 }
19
20 Subscriber::~Subscriber()
21 {
22 }
23
24 std::string Subscriber::getHexMAC() const
25 {
26     return _mac;
27 }