@@ -134,7 +134,7 @@ public interface IMqttClient { //extends IMqttAsyncClient {
134134 * work which has already been initiated to complete - for example, it will
135135 * wait for the QoS 2 flows from earlier publications to complete. When work has
136136 * completed or after the quiesce timeout, the client will disconnect from
137- * the server. If the cleanSession flag was set to false and is set to false the
137+ * the server. If the cleanStart flag was set to false and is set to false the
138138 * next time a connection is made QoS 1 and 2 messages that
139139 * were not previously delivered will be delivered.</p>
140140 *
@@ -227,7 +227,7 @@ public interface IMqttClient { //extends IMqttAsyncClient {
227227 * will be discarded.
228228 * </p>
229229 * <p>
230- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to true
230+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to true
231231 * when when connecting to the server then the subscription remains in place
232232 * until either:
233233 * </p>
@@ -236,15 +236,15 @@ public interface IMqttClient { //extends IMqttAsyncClient {
236236 * <li>An unsubscribe method is called to un-subscribe the topic</li>
237237 * </ul>
238238 * <p>
239- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to false
239+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to false
240240 * when when connecting to the server then the subscription remains in place
241241 * until either:</p>
242242 * <ul>
243243 * <li>An unsubscribe method is called to unsubscribe the topic</li>
244- * <li>The client connects with cleanSession set to true</li>
244+ * <li>The client connects with cleanStart set to true</li>
245245 * </ul>
246246 * <p>
247- * With cleanSession set to false the MQTT server will store messages on
247+ * With cleanStart set to false the MQTT server will store messages on
248248 * behalf of the client when the client is not connected. The next time the
249249 * client connects with the <b>same client ID</b> the server will
250250 * deliver the stored messages to the client.
@@ -363,23 +363,23 @@ public interface IMqttClient { //extends IMqttAsyncClient {
363363 * will be discarded.
364364 * </p>
365365 * <p>
366- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to true
366+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to true
367367 * when when connecting to the server then the subscription remains in place
368368 * until either:</p>
369369 * <ul>
370370 * <li>The client disconnects</li>
371371 * <li>An unsubscribe method is called to un-subscribe the topic</li>
372372 * </ul>
373373 * <p>
374- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to false
374+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to false
375375 * when when connecting to the server then the subscription remains in place
376376 * until either:</p>
377377 * <ul>
378378 * <li>An unsubscribe method is called to unsubscribe the topic</li>
379- * <li>The client connects with cleanSession set to true</li>
379+ * <li>The client connects with cleanStart set to true</li>
380380 * </ul>
381381 * <p>
382- * With cleanSession set to false the MQTT server will store messages on
382+ * With cleanStart set to false the MQTT server will store messages on
383383 * behalf of the client when the client is not connected. The next time the
384384 * client connects with the <b>same client ID</b> the server will
385385 * deliver the stored messages to the client.
@@ -471,23 +471,23 @@ public interface IMqttClient { //extends IMqttAsyncClient {
471471 * will be discarded.
472472 * </p>
473473 * <p>
474- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to true
474+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to true
475475 * when when connecting to the server then the subscription remains in place
476476 * until either:</p>
477477 * <ul>
478478 * <li>The client disconnects</li>
479479 * <li>An unsubscribe method is called to un-subscribe the topic</li>
480480 * </ul>
481481 * <p>
482- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to false
482+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to false
483483 * when when connecting to the server then the subscription remains in place
484484 * until either:</p>
485485 * <ul>
486486 * <li>An unsubscribe method is called to unsubscribe the topic</li>
487- * <li>The client connects with cleanSession set to true</li>
487+ * <li>The client connects with cleanStart set to true</li>
488488 * </ul>
489489 * <p>
490- * With cleanSession set to false the MQTT server will store messages on
490+ * With cleanStart set to false the MQTT server will store messages on
491491 * behalf of the client when the client is not connected. The next time the
492492 * client connects with the <b>same client ID</b> the server will
493493 * deliver the stored messages to the client.
@@ -564,7 +564,7 @@ public interface IMqttClient { //extends IMqttAsyncClient {
564564 * will be discarded.
565565 * </p>
566566 * <p>
567- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to true
567+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to true
568568 * when when connecting to the server then the subscription remains in place
569569 * until either:</p>
570570 * <ul>
@@ -573,15 +573,15 @@ public interface IMqttClient { //extends IMqttAsyncClient {
573573 * </ul>
574574 *
575575 * <p>
576- * If (@link MqttConnectOptions#setCleanSession (boolean)} was set to false
576+ * If (@link MqttConnectOptions#setCleanStart (boolean)} was set to false
577577 * when when connecting to the server then the subscription remains in place
578578 * until either:</p>
579579 * <ul>
580580 * <li>An unsubscribe method is called to unsubscribe the topic</li>
581- * <li>The client connects with cleanSession set to true</li>
581+ * <li>The client connects with cleanStart set to true</li>
582582 * </ul>
583583 * <p>
584- * With cleanSession set to false the MQTT server will store messages on
584+ * With cleanStart set to false the MQTT server will store messages on
585585 * behalf of the client when the client is not connected. The next time the
586586 * client connects with the <b>same client ID</b> the server will
587587 * deliver the stored messages to the client.
@@ -715,9 +715,9 @@ public interface IMqttClient { //extends IMqttAsyncClient {
715715 * a connection is re-established to the server on condition that:</p>
716716 * <ul>
717717 * <li>The connection is re-established with the same clientID</li>
718- * <li>The original connection was made with (@link MqttConnectOptions#setCleanSession (boolean)}
718+ * <li>The original connection was made with (@link MqttConnectOptions#setCleanStart (boolean)}
719719 * set to false</li>
720- * <li>The connection is re-established with (@link MqttConnectOptions#setCleanSession (boolean)}
720+ * <li>The connection is re-established with (@link MqttConnectOptions#setCleanStart (boolean)}
721721 * set to false</li>
722722 * </ul>
723723 * <p>In the event that the connection breaks or the client stops it is still possible to determine
@@ -860,9 +860,9 @@ public interface IMqttClient { //extends IMqttAsyncClient {
860860 * Alternately the {@link MqttCallback#deliveryComplete(IMqttDeliveryToken)}
861861 * callback can be used to track the delivery of outstanding messages.
862862 * </p>
863- * <p>If a client connects with cleanSession true then there will be no
864- * delivery tokens as the cleanSession option deletes all earlier state.
865- * For state to be remembered the client must connect with cleanSession
863+ * <p>If a client connects with cleanStart true then there will be no
864+ * delivery tokens as the cleanStart option deletes all earlier state.
865+ * For state to be remembered the client must connect with cleanStart
866866 * set to false</P>
867867 * @return zero or more delivery tokens
868868 */
0 commit comments