Class MqttSubscribeMessage

  • All Implemented Interfaces:
    MqttMessage

    public class MqttSubscribeMessage
    extends Object
    implements MqttMessage
    Represents an MQTT SUBSCRIBE message

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

    • Constructor Detail

      • MqttSubscribeMessage

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

        public MqttSubscribeMessage​(Object delegate)
    • Method Detail

      • getDelegate

        public io.vertx.mqtt.messages.MqttSubscribeMessage getDelegate()
        Specified by:
        getDelegate in interface MqttMessage
      • hashCode

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

        public int messageId()
        Specified by:
        messageId in interface MqttMessage
        Returns:
        Message identifier
      • topicSubscriptions

        public List<MqttTopicSubscription> topicSubscriptions()
        Returns:
        List with topics and related quolity of service levels
      • create

        public static MqttSubscribeMessage create​(int messageId,
                                                  List<io.netty.handler.codec.mqtt.MqttTopicSubscription> topicSubscriptions,
                                                  io.netty.handler.codec.mqtt.MqttProperties properties)
        Parameters:
        messageId - message identifier
        topicSubscriptions - list with topics and related quality of service levels (from Netty)
        properties - MQTT message properties
        Returns:
        Vert.x subscribe message
      • properties

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

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