#ifndef OSDEV_COMPONENTS_MQTT_CONNECTIONSTATUS_H #define OSDEV_COMPONENTS_MQTT_CONNECTIONSTATUS_H // std #include namespace osdev { namespace components { namespace mqtt { /*! * \brief Enumeration for MQTT connection Status */ enum class ConnectionStatus { Disconnected, ///< Client is disconnected. DisconnectInProgress, ///< Client is being disconnected. ConnectInProgress, ///< Client is being connected. ReconnectInProgress, ///< Client tries to reconnect. Connected, ///< Client is connected. }; /*! * \brief Stream operator for the connection status */ std::ostream& operator<<(std::ostream &os, ConnectionStatus rhs); } // End namespace mqtt } // End namespace components } // End namespace osdev #endif // OSDEV_COMPONENTS_MQTT_CONNECTIONSTATUS_H