SubscriptionRefused

data class SubscriptionRefused(val refused: Map<String, String>, val granted: Int) : MqttConnectionState(source)

The MQTT client is connected, but the broker refused some or all of the topic filters it asked for.

Constructors

Link copied to clipboard
constructor(refused: Map<String, String>, granted: Int)

Properties

Link copied to clipboard

How many filters the broker accepted; 0 means the proxy hears nothing from the broker.

Link copied to clipboard

Refused topic filter to the broker's reason code name (for example NOT_AUTHORIZED).