|
kmMqtt 0.0.1
MQTT Client Library
|
Interface for creating MQTT environment-specific components. More...
#include <IMqttEnvironment.h>
Public Member Functions | |
| virtual | ~IMqttEnvironment ()=default |
| Virtual destructor. | |
| virtual Config | createConfig () const noexcept=0 |
| Creates a configuration object for the MQTT client. | |
| virtual std::shared_ptr< IWebSocket > | createWebSocket () const noexcept=0 |
| Creates a web socket instance for MQTT communication. | |
Interface for creating MQTT environment-specific components.
This interface defines the factory methods for creating essential MQTT client components. Implementations of this interface provide the environment-specific behavior for these components.
|
pure virtualnoexcept |
Creates a configuration object for the MQTT client.
Implemented in kmMqtt::DefaultLinuxEnv, and kmMqtt::DefaultWinEnv.
|
pure virtualnoexcept |
Creates a web socket instance for MQTT communication.
Implemented in kmMqtt::DefaultLinuxEnv, and kmMqtt::DefaultWinEnv.