Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
paho
Client.ClientConfig
is now private
Users could previously access/change the ClientConfig held by paho.Client; this invited race conditions (paho.Client could use values from the config at any time and no locking mechanism was provided). To avoid this, the config is now private and examples etc have been updated. A getter for ClientID has been added (as this was needed in examples); I suspect additional getters may be of benefit (but will await feedback for that). This may break some users code (but that is probably a good thing)
- Loading branch information