#include <Topic.h>
Public Member Functions | |
| Topic (const std::string &name, uint8_t qoS) | |
| Topic (const Topic &)=default | |
| Topic & | operator= (const Topic &)=default |
| ~Topic () | |
| const std::string & | getName () const |
| uint8_t | getQoS () const |
Private Attributes | |
| std::string | name |
| uint8_t | qoS |
| iot::mqtt::Topic::Topic | ( | const std::string & | name, |
| uint8_t | qoS ) |
|
default |
| const std::string & iot::mqtt::Topic::getName | ( | ) | const |
Definition at line 58 of file Topic.cpp.
References name.
Referenced by iot::mqtt::server::Mqtt::_onSubscribe(), iot::mqtt::client::Mqtt::sendSubscribe(), and iot::mqtt::packets::Subscribe::serializeVP().
| uint8_t iot::mqtt::Topic::getQoS | ( | ) | const |
Definition at line 62 of file Topic.cpp.
References qoS.
Referenced by iot::mqtt::server::Mqtt::_onSubscribe(), iot::mqtt::client::Mqtt::sendSubscribe(), and iot::mqtt::packets::Subscribe::serializeVP().
|
private |
|
private |