IPWorks IoT 2020 Python Edition

Questions / Feedback?

outgoing_message_delivery_mode Property

The delivery mode of the message.

Syntax

def get_outgoing_message_delivery_mode(outgoing_message_index: int) -> int: ...

Default Value

0

Remarks

The delivery mode of the message.

This property holds the delivery mode of the message; possible values are:

  • 0: Unspecified.
  • 1: Non-persistent; the message may be lost if the server encounters an error.
  • 2: Persistent; the message will not be lost, even in case of server errors.

The default is 0, which indicates that the message does not have an explicit delivery mode set.

The outgoing_message_index parameter specifies the index of the item in the array. The size of the array is controlled by the outgoing_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]