IPWorks IoT 2020 Python Edition

Questions / Feedback?

incoming_message_message_exp_interval Property

The lifetime of the message in seconds specified by the sender.

Syntax

def get_incoming_message_message_exp_interval(incoming_message_index: int) -> int: ...

Default Value

0

Remarks

The lifetime of the message in seconds specified by the sender.

For outgoing messages, the value is useful for instructing the server to delete its copies of the message for any subscribers it has not been able to start delivery to.

For incoming messages, the value sent by the server is the lifetime specified by the sender minus the time the message has been waiting in the server.

Valid only for MQTT 5.

The incoming_message_index parameter specifies the index of the item in the array. The size of the array is controlled by the incoming_message_count property.

This property is read-only.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks IoT 2020 Python Edition - Version 20.0 [Build 8265]