public interface MqttPingSender
Modifier and Type | Method and Description |
---|---|
void |
init(ClientComms comms)
Initial method.
|
void |
schedule(long delayInMilliseconds)
Schedule next ping in certain delay.
|
void |
start()
Start ping sender.
|
void |
stop()
Stop ping sender.
|
void init(ClientComms comms)
The
- core of the client, which holds the state information for pending and in-flight messages.void start()
void stop()
void schedule(long delayInMilliseconds)
delay
- in milliseconds.