ValidatesConfiguration
Provides methods to validate the configuration of an {@see MqttClient} and the {@see ConnectionSettings} being used to connect to a broker.
Table of Contents
- ensureConnectionSettingsAreValid() : void
- Ensures the given connection settings are valid. If they are not valid, which means they are misconfigured, an exception containing information about the configuration error is thrown.
Methods
ensureConnectionSettingsAreValid()
Ensures the given connection settings are valid. If they are not valid, which means they are misconfigured, an exception containing information about the configuration error is thrown.
protected
ensureConnectionSettingsAreValid(ConnectionSettings $settings) : void
Parameters
- $settings : ConnectionSettings