#ifndef __SSMD_SUBSCRIBER_H__ #define __SSMD_SUBSCRIBER_H__ #include namespace SSMD { class Subscriber { public: Subscriber(const std::string & mac, unsigned port, unsigned upShape, unsigned downShape, unsigned upBurst, unsigned downBurst); ~Subscriber(); std::string getHexMAC() const; const std::string & getMAC() const { return _mac; } unsigned getPort() const { return _port; } unsigned getUpShape() const { return _upShape; } unsigned getUpBurst() const { return _upBurst; } unsigned getDownShape() const { return _downShape; } unsigned getDownBurst() const { return _downBurst; } private: std::string _mac; unsigned _port; unsigned _upShape; unsigned _downShape; unsigned _upBurst; unsigned _downBurst; }; } #endif