Description

October 8, 2018 ยท View on GitHub

The type of the TMQTTClient.Subscriptions property. Maintains a list of TMQTTClientSubscription components that have been instantiated and are assigned to this TMQTTClient object. This list is maintained automatically.

When a session is established and it is a clean session or the server indicates it did not find an existing connection in its datastores, then the Client.InitSession method is called. This method uses the Subscriptions property to automatically subscribe to various topic filters.

Use this list to inspect or find TMQTTClientSubscription components for an MQTT client connection. TMQTTClientSubscription objects are added/removed from this list by setting their Client property or by calling their destructors.

Properties

NameVisibilityAccessDescription
CountpublicROThe number of items in the list
Items[]publicROAn indexed array of the items in the list. Default property

Methods

NameVisibilityDescription
AddpublicAdds AItem to the list. Ensures duplicates are ignored.
RemovepublicRemoves AItem from the list, if it exists in the list.