Class SubscribePacket

    • Method Detail

      • getSubscriptionIdentifier

        public Long getSubscriptionIdentifier()
        Returns the positive long to associate with all subscriptions in this request. Publish packets that match a subscription in this request should include this identifier in the resulting message. See MQTT5 Subscription Identifier
        Returns:
        A positive long to associate with all subscriptions in this request.
      • getUserProperties

        public List<UserProperty> getUserProperties()
        Returns the list of MQTT5 user properties included with the packet. See MQTT5 User Property
        Returns:
        List of MQTT5 user properties included with the packet.