Class MqttConnAckMessage

java.lang.Object
io.vertx.rxjava3.mqtt.messages.MqttConnAckMessage
All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate

public class MqttConnAckMessage extends Object implements io.vertx.lang.rx.RxDelegate
Represents an MQTT CONNACK message

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

  • Field Details

    • __TYPE_ARG

      public static final io.vertx.lang.rx.TypeArg<MqttConnAckMessage> __TYPE_ARG
  • Constructor Details

    • MqttConnAckMessage

      public MqttConnAckMessage(MqttConnAckMessage delegate)
    • MqttConnAckMessage

      public MqttConnAckMessage(Object delegate)
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public MqttConnAckMessage getDelegate()
      Specified by:
      getDelegate in interface io.vertx.lang.rx.RxDelegate
    • create

      public static MqttConnAckMessage create(MqttConnectReturnCode code, boolean isSessionPresent)
      Create a concrete instance of a Vert.x connack message
      Parameters:
      code - return code from the connection request
      isSessionPresent - is an old session is present
      Returns:
    • code

      public 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(MqttConnectReturnCode code, boolean isSessionPresent, MqttProperties properties)
      Create a concrete instance of a Vert.x connack message
      Parameters:
      code - return code from the connection request
      isSessionPresent - is an old session is present
      properties - MQTT properties
      Returns:
    • properties

      public MqttProperties properties()
    • newInstance

      public static MqttConnAckMessage newInstance(MqttConnAckMessage arg)