Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
This version of Boost is under active development. You are currently in the develop branch. The current version is 1.91.0.
A class holding any number of Subscription Identifiers.
Defined in header <boost/mqtt5/property_types.hpp>
class subscription_identifiers : public boost::container::small_vector< int32_t, 1 >;
|
Name |
Description |
|---|---|
|
Sets or replaces the (first) Subscription Identifier. |
|
|
Checks whether there are any Subscription Identifiers. |
|
|
Checks whether there are any Subscription Identifiers. |
|
|
Accesses the (first) Subscription Identifier. |
|
|
Clears the Subscription Identifiers. |
|
|
subscription_identifiers [constructor] |
Constructs Subscription Identifiers with given parameters. |
|
Returns the first Subscription Identifier. |
|
|
Returns the first Subscription Identifier if it exists, otherwise
returns |
Subscription Identifier is an integer that can be set in boost::mqtt5::subscribe_props when subscribing
to a Topic. Broker will store the mapping between that Subscription and the
Subscription Identifier. When an incoming PUBLISH message matches one or
more Subscriptions, respective Subscription Identifiers will be forwarded
in the boost::mqtt5::publish_props
of the received message.
Convenience header <boost/mqtt5.hpp>