mqtt_cpp
Public Member Functions | List of all members
MQTT_NS::will Class Reference

#include <will.hpp>

Public Member Functions

 will (buffer topic, buffer message, publish_options pubopts={}, v5::properties props={})
 constructor More...
 
constexpr buffer const & topic () const
 
constexpr buffertopic ()
 
constexpr buffer const & message () const
 
constexpr buffermessage ()
 
constexpr retain get_retain () const
 
constexpr qos get_qos () const
 
constexpr v5::properties const & props () const
 
constexpr v5::propertiesprops ()
 

Constructor & Destructor Documentation

◆ will()

MQTT_NS::will::will ( buffer  topic,
buffer  message,
publish_options  pubopts = {},
v5::properties  props = {} 
)
inline

constructor

Parameters
topicA topic name to publish as a will
messageThe contents to publish as a will
puboptsQos and retain flag
qosqos

Member Function Documentation

◆ get_qos()

constexpr qos MQTT_NS::will::get_qos ( ) const
inlineconstexpr

◆ get_retain()

constexpr retain MQTT_NS::will::get_retain ( ) const
inlineconstexpr

◆ message() [1/2]

constexpr buffer& MQTT_NS::will::message ( )
inlineconstexpr

◆ message() [2/2]

constexpr buffer const& MQTT_NS::will::message ( ) const
inlineconstexpr

◆ props() [1/2]

constexpr v5::properties& MQTT_NS::will::props ( )
inlineconstexpr

◆ props() [2/2]

constexpr v5::properties const& MQTT_NS::will::props ( ) const
inlineconstexpr

◆ topic() [1/2]

constexpr buffer& MQTT_NS::will::topic ( )
inlineconstexpr

◆ topic() [2/2]

constexpr buffer const& MQTT_NS::will::topic ( ) const
inlineconstexpr

The documentation for this class was generated from the following file: