-
public interface MqttPingSenderRepresents an object used to send ping packet to MQTT broker every keep alive interval.
-
-
Method Summary
-
-
Method Detail
-
init
abstract void init(ClientComms comms, ILogger logger)
Initial method. Pass interal state of current client in.
-
start
abstract void start()
Start ping sender. It will be called after connection is success.
-
stop
abstract void stop()
Stop ping sender. It is called if there is any errors or connection shutdowns.
-
schedule
abstract void schedule(long delayInMilliseconds)
Schedule next ping in certain delay.
-
-
-
-