* @brief Sets the keep-alive interval in seconds. */
| 1580 | * @brief Sets the keep-alive interval in seconds. |
| 1581 | */ |
| 1582 | void MQTT::Publisher::setKeepAlive(const quint16 keepAlive) |
| 1583 | { |
| 1584 | if (m_keepAlive == keepAlive) |
| 1585 | return; |
| 1586 | |
| 1587 | m_keepAlive = keepAlive; |
| 1588 | markConfigChanged(); |
| 1589 | } |
| 1590 | |
| 1591 | /** |
| 1592 | * @brief Sets the MQTT client identifier. |
no outgoing calls
no test coverage detected