IPWorks MQ 2020 Python Edition

Questions / Feedback?

outgoing_message_value_type Property

This message's value data type.

Syntax

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

Default Value

0

Remarks

This message's value data type.

This property specifies the data type of this message's outgoing_message_value.

The table below shows the possible value types, their descriptions, and how to format the data assigned to outgoing_message_value. All numeric value types should use their standard string formatting (except for the mvtDecimal (12) type, which should be specified as hex-encoded bytes).

Type Description Value Format
mvtNull (0 - default) Null N/A (outgoing_message_value is ignored)
mvtBoolean (1) Boolean "True" or "False"
mvtUbyte (2) Unsigned byte 0 to 255
mvtUshort (3) Unsigned short 0 to 65535
mvtUint (4) Unsigned integer 0 to 4294967295
mvtUlong (5) Unsigned long 0 to 18446744073709551615
mvtByte (6) Byte -128 to 127
mvtShort (7) Short -32768 to 32767
mvtInt (8) Integer -2147483648 to 2147483647
mvtLong (9) Long -9223372036854775808 to 9223372036854775807
mvtFloat (10) Float IEEE 754 32-bit floating point number
mvtDouble (11) Double IEEE 754 64-bit floating point number
mvtDecimal (12) Decimal Hex-encoded byte string
mvtChar (13) Char Single character
mvtTimestamp (14) Timestamp Number of milliseconds since the Unix epoch (January 1, 1970 00:00:00 UTC).
mvtUuid (15) UUID Hex-encoded UUID in the form XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX (hyphens optional, case-insensitive)
mvtBinary (16) Binary data Hex-encoded byte string
mvtString (17) String String
mvtSymbol (18) Symbolic value ASCII string
mvtJson (19) Composite data Composite data JSON structured according to the schema shown in the send_message method's documentation

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 MQ 2020 Python Edition - Version 20.0 [Build 8155]