keepAlivePeriod property

int keepAlivePeriod
getter/setter pair

Keep alive period, seconds. Keep alive is defaulted to off, this must be set to a valid value to enable keep alive.

Implementation

int keepAlivePeriod = MqttClientConstants.defaultKeepAlive;