ADC Advanced Policy Expressions

MQTT_SUB_TOPIC_FILTERS_T


This class provides operations to describe the topic filters in the MQTT SUBSCRIBE message

This topic lists the expressions that are provided by this class.

  • COUNT

    Return the number of topics in the MQTT SUBSCRIBE message

Returns: num_at

  • QOS

    Return the desired QOS for the first topic in the MQTT SUBSCRIBE message

Returns: num_at

QOS (uint index)

Return the desired QOS indexed at index in the MQTT SUBSCRIBE message

Parameters``:

            index- index of desired QOS

Returns: num_at

  • TOPIC

    Return the first topic in the MQTT SUBSCRIBE message

Returns: text_t

TOPIC (uint index)

Return the topic indexed at index in the MQTT SUBSCRIBE message

Parameters``:

            index- index of desired topic

Returns: text_t

MQTT_SUB_TOPIC_FILTERS_T

In this article