Skip to content

LastWillBuilder

TODO:

Methods:

LastWillBuilder WithTopic(String)

Set the topic the last-will will be published.

WithPayload(Byte[])

Binary payload of the last-will.

LastWillBuilder WithPayload(String)

Textual payload of the last-will. It also sets the Payload Format Indicator to UTF8.

LastWillBuilder WithQoS(QoSLevels)

QoS level of the last-will.

LastWillBuilder WithRetain(Boolean)

Retain flag.

LastWillBuilder WithDelayInterval(UInt32)

Delay before the broker will publish the last-will

LastWillBuilder WithPayloadFormatIndicator(PayloadTypes)

Type of the payload, binary or textual.

Comments