OutgoingMessageSubscriptionIdentifiers Property

A comma separated list of any SubscriptionIdentifiers associated with any client subscription(s) that caused this message to be delivered.

Syntax

ANSI (Cross Platform)
char* GetOutgoingMessageSubscriptionIdentifiers(int iOutgoingMessageIndex);

Unicode (Windows)
LPWSTR GetOutgoingMessageSubscriptionIdentifiers(INT iOutgoingMessageIndex);
- (NSString*)outgoingMessageSubscriptionIdentifiers:(int)outgoingMessageIndex;
#define PID_MQTT_OUTGOINGMESSAGESUBSCRIPTIONIDENTIFIERS 40

IPWORKSIOT_EXTERNAL void* IPWORKSIOT_CALL IPWorksIoT_MQTT_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);

IPWORKSIOT_EXTERNAL int IPWORKSIOT_CALL IPWorksIoT_MQTT_CheckIndex(void *lpObj, int propid, int arridx);

Default Value

""

Remarks

A comma separated list of any SubscriptionIdentifiers associated with any client subscription(s) that caused this message to be delivered.

This property is only applicable to incoming messages.

If SubscriptionIdentifier is set when subscribing, it will be included in any messages delivered by the broker for the topics specified in that packet.

See the Subscribe method for more details.

Valid only for MQTT 5.

The OutgoingMessageIndex parameter specifies the index of the item in the array. The size of the array is controlled by the OutgoingMessageCount property.

This property is read-only and not available at design time.

Data Type

String

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