MQTT NamespaceΒΆ

Namespace: MQTT.

class zlogging.enum.mqtt.SubUnsub(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]

Bases: IntFlag

Enum: MQTT::SubUnsub.

SUBSCRIBE = 1
UNSUBSCRIBE = 2
static _generate_next_value_(name, start, count, last_values)

Generate the next value when not given.

name: the name of the member start: the initial start value or None count: the number of existing members last_values: the last value assigned or None