Class OnConnectionSuccessReturn


  • public class OnConnectionSuccessReturn
    extends java.lang.Object
    The data returned when OnConnectionSuccess is invoked in the LifecycleEvents callback. The data contained within can be gotten using the get functions. For example, getResultPublishPacket will return the PublishPacket from the server.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ConnAckPacket getConnAckPacket()
      Returns the ConnAckPacket returned from the server on the connection success or Null if none was returned.
      NegotiatedSettings getNegotiatedSettings()
      Returns the NegotiatedSettings returned from the server on the connection success or Null if none was returned.
      • Methods inherited from class java.lang.Object

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

      • getConnAckPacket

        public ConnAckPacket getConnAckPacket()
        Returns the ConnAckPacket returned from the server on the connection success or Null if none was returned.
        Returns:
        The ConnAckPacket returned from the server.
      • getNegotiatedSettings

        public NegotiatedSettings getNegotiatedSettings()
        Returns the NegotiatedSettings returned from the server on the connection success or Null if none was returned.
        Returns:
        The NegotiatedSettings returned from the server.