IncomingMessageTopicAlias Property
An integer used to identify the topic instead of the full topic filter in order to reduce the size of the publish packet.
Object Oriented Interface
public function getIncomingMessageTopicAlias($incomingmessageindex);
Procedural Interface
ipworksmq_mqtt_get($res, 24 , $incomingmessageindex);
Default Value
0
Remarks
An integer used to identify the topic instead of the full topic filter in order to reduce the size of the publish packet.
If a non-zero topic alias is received, the client should establish a new topic alias mapping or use an existing mapping, depending on whether the IncomingMessageTopic string is empty.
For details on setting topic aliases for outgoing messages, see the TopicAlias configuration setting.
Valid only for MQTT 5.
The $incomingmessageindex parameter specifies the index of the item in the array. The size of the array is controlled by the IncomingMessageCount property.
This property is read-only and not available at design time.
Data Type
Integer