Interface MqttUnsubscribeMessage

  • All Superinterfaces:
    MqttMessage

    public interface MqttUnsubscribeMessage
    extends MqttMessage
    Represents an MQTT UNSUBSCRIBE message
    • Method Detail

      • create

        static MqttUnsubscribeMessage create​(int messageId,
                                             List<String> topics)
        Create a concrete instance of a Vert.x unsubscribe message
        Parameters:
        messageId - message identifier
        topics - list of topics to unsubscribe
      • create

        static MqttUnsubscribeMessage create​(int messageId,
                                             List<String> topics,
                                             MqttProperties properties)
        Create a concrete instance of a Vert.x unsubscribe message
        Parameters:
        messageId - message identifier
        topics - list of topics to unsubscribe
        properties - UNSUBSCRIBE message properties
      • topics

        List<String> topics()
        Returns:
        List of topics to unsubscribe