property_id.hpp 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // Copyright Takatoshi Kondo 2018
  2. //
  3. // Distributed under the Boost Software License, Version 1.0.
  4. // (See accompanying file LICENSE_1_0.txt or copy at
  5. // http://www.boost.org/LICENSE_1_0.txt)
  6. #if !defined(MQTT_PROPERTY_ID_HPP)
  7. #define MQTT_PROPERTY_ID_HPP
  8. #include <cstdint>
  9. #include <mqtt/namespace.hpp>
  10. namespace MQTT_NS {
  11. namespace v5 {
  12. namespace property {
  13. enum class id {
  14. payload_format_indicator = 1,
  15. message_expiry_interval = 2,
  16. content_type = 3,
  17. response_topic = 8,
  18. correlation_data = 9,
  19. subscription_identifier = 11,
  20. session_expiry_interval = 17,
  21. assigned_client_identifier = 18,
  22. server_keep_alive = 19,
  23. authentication_method = 21,
  24. authentication_data = 22,
  25. request_problem_information = 23,
  26. will_delay_interval = 24,
  27. request_response_information = 25,
  28. response_information = 26,
  29. server_reference = 28,
  30. reason_string = 31,
  31. receive_maximum = 33,
  32. topic_alias_maximum = 34,
  33. topic_alias = 35,
  34. maximum_qos = 36,
  35. retain_available = 37,
  36. user_property = 38,
  37. maximum_packet_size = 39,
  38. wildcard_subscription_available = 40,
  39. subscription_identifier_available = 41,
  40. shared_subscription_available = 42,
  41. };
  42. } // namespace property
  43. } // namespace v5
  44. } // namespace MQTT_NS
  45. #endif // MQTT_PROPERTY_ID_HPP