Class MqttConnAckMessage


  • public class MqttConnAckMessage
    extends Object
    Represents an MQTT CONNACK message

    NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

    • Constructor Detail

      • MqttConnAckMessage

        public MqttConnAckMessage​(io.vertx.mqtt.messages.MqttConnAckMessage delegate)
      • MqttConnAckMessage

        public MqttConnAckMessage​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.mqtt.messages.MqttConnAckMessage getDelegate()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • create

        public static MqttConnAckMessage create​(io.netty.handler.codec.mqtt.MqttConnectReturnCode code,
                                                boolean isSessionPresent)
        Parameters:
        code - return code from the connection request
        isSessionPresent - is an old session is present
        Returns:
      • code

        public io.netty.handler.codec.mqtt.MqttConnectReturnCode code()
        Returns:
        return code from the connection request
      • isSessionPresent

        public boolean isSessionPresent()
        Returns:
        is an old session is present
      • create

        public static MqttConnAckMessage create​(io.netty.handler.codec.mqtt.MqttConnectReturnCode code,
                                                boolean isSessionPresent,
                                                io.netty.handler.codec.mqtt.MqttProperties properties)
        Parameters:
        code - return code from the connection request
        isSessionPresent - is an old session is present
        properties - MQTT properties
        Returns:
      • properties

        public io.netty.handler.codec.mqtt.MqttProperties properties()
      • newInstance

        public static MqttConnAckMessage newInstance​(io.vertx.mqtt.messages.MqttConnAckMessage arg)