Topic

data class Topic(val topic: String, val qos: Topic.Qos = Qos.QOS_0)

QOS_0(0), At most once, may be repeated or lost

QOS_1(1), At least once, may be repeated

QOS_2(2), Only once, ensure that the message only arrives once (for stricter billing systems)

Constructors

Link copied to clipboard
constructor(topic: String, qos: Topic.Qos = Qos.QOS_0)

Types

Link copied to clipboard
enum Qos : Enum<Topic.Qos>

Properties

Link copied to clipboard
Link copied to clipboard