Class OnConnectionSuccessReturn


  • public class OnConnectionSuccessReturn
    extends java.lang.Object
    The data returned when the connection success callback is invoked in a connection.
    See Also:
    MqttClientConnectionEvents
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean getSessionPresent()
      Returns whether a session was present and resumed for this successful connection.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getSessionPresent

        public boolean getSessionPresent()
        Returns whether a session was present and resumed for this successful connection. Will be set to true if the connection resumed an already present MQTT connection session.
        Returns:
        whether a session was present and resumed