MqttProperties Class — netty Architecture
Architecture documentation for the MqttProperties class in MqttProperties.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b94e5449_132b_7007_b936_295b901f2ffe["MqttProperties"] 5a4eca03_eb27_9264_bded_20eb1e48fedb["MqttProperties.java"] b94e5449_132b_7007_b936_295b901f2ffe -->|defined in| 5a4eca03_eb27_9264_bded_20eb1e48fedb 210ba702_af75_f8f3_53a2_2b7ecfc979f7["MqttProperties()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| 210ba702_af75_f8f3_53a2_2b7ecfc979f7 1884d271_a8c7_8143_e8ee_2f6e4070b19d["add()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| 1884d271_a8c7_8143_e8ee_2f6e4070b19d 045e60ec_eeba_f5c7_543e_20346d4765d8["listAll()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| 045e60ec_eeba_f5c7_543e_20346d4765d8 8b38bc5c_505e_1003_0134_ea0c7ce277ba["isEmpty()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| 8b38bc5c_505e_1003_0134_ea0c7ce277ba e401a964_846f_d0cf_5cee_a99fa1aa50b3["MqttProperty()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| e401a964_846f_d0cf_5cee_a99fa1aa50b3 c9c04203_fd0f_0702_a170_0390ec874690["getProperties()"] b94e5449_132b_7007_b936_295b901f2ffe -->|method| c9c04203_fd0f_0702_a170_0390ec874690
Relationship Graph
Source Code
codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttProperties.java lines 28–454
public final class MqttProperties {
// single byte properties
public static final int PAYLOAD_FORMAT_INDICATOR = 0x01;
public static final int REQUEST_PROBLEM_INFORMATION = 0x17;
public static final int REQUEST_RESPONSE_INFORMATION = 0x19;
public static final int MAXIMUM_QOS = 0x24;
public static final int RETAIN_AVAILABLE = 0x25;
public static final int WILDCARD_SUBSCRIPTION_AVAILABLE = 0x28;
public static final int SUBSCRIPTION_IDENTIFIER_AVAILABLE = 0x29;
public static final int SHARED_SUBSCRIPTION_AVAILABLE = 0x2A;
// two bytes properties
public static final int SERVER_KEEP_ALIVE = 0x13;
public static final int RECEIVE_MAXIMUM = 0x21;
public static final int TOPIC_ALIAS_MAXIMUM = 0x22;
public static final int TOPIC_ALIAS = 0x23;
// four bytes properties
public static final int PUBLICATION_EXPIRY_INTERVAL = 0x02;
public static final int SESSION_EXPIRY_INTERVAL = 0x11;
public static final int WILL_DELAY_INTERVAL = 0x18;
public static final int MAXIMUM_PACKET_SIZE = 0x27;
// Variable Byte Integer
public static final int SUBSCRIPTION_IDENTIFIER = 0x0B;
// UTF-8 Encoded String properties
public static final int CONTENT_TYPE = 0x03;
public static final int RESPONSE_TOPIC = 0x08;
public static final int ASSIGNED_CLIENT_IDENTIFIER = 0x12;
public static final int AUTHENTICATION_METHOD = 0x15;
public static final int RESPONSE_INFORMATION = 0x1A;
public static final int SERVER_REFERENCE = 0x1C;
public static final int REASON_STRING = 0x1F;
public static final int USER_PROPERTY = 0x26;
// Binary Data
public static final int CORRELATION_DATA = 0x09;
public static final int AUTHENTICATION_DATA = 0x16;
@Deprecated
public enum MqttPropertyType {
// single byte properties
PAYLOAD_FORMAT_INDICATOR(MqttProperties.PAYLOAD_FORMAT_INDICATOR),
REQUEST_PROBLEM_INFORMATION(MqttProperties.REQUEST_PROBLEM_INFORMATION),
REQUEST_RESPONSE_INFORMATION(MqttProperties.REQUEST_RESPONSE_INFORMATION),
MAXIMUM_QOS(MqttProperties.MAXIMUM_QOS),
RETAIN_AVAILABLE(MqttProperties.RETAIN_AVAILABLE),
WILDCARD_SUBSCRIPTION_AVAILABLE(MqttProperties.WILDCARD_SUBSCRIPTION_AVAILABLE),
SUBSCRIPTION_IDENTIFIER_AVAILABLE(MqttProperties.SUBSCRIPTION_IDENTIFIER_AVAILABLE),
SHARED_SUBSCRIPTION_AVAILABLE(MqttProperties.SHARED_SUBSCRIPTION_AVAILABLE),
// two bytes properties
SERVER_KEEP_ALIVE(MqttProperties.SERVER_KEEP_ALIVE),
RECEIVE_MAXIMUM(MqttProperties.RECEIVE_MAXIMUM),
TOPIC_ALIAS_MAXIMUM(MqttProperties.TOPIC_ALIAS_MAXIMUM),
TOPIC_ALIAS(MqttProperties.TOPIC_ALIAS),
// four bytes properties
PUBLICATION_EXPIRY_INTERVAL(MqttProperties.PUBLICATION_EXPIRY_INTERVAL),
SESSION_EXPIRY_INTERVAL(MqttProperties.SESSION_EXPIRY_INTERVAL),
WILL_DELAY_INTERVAL(MqttProperties.WILL_DELAY_INTERVAL),
MAXIMUM_PACKET_SIZE(MqttProperties.MAXIMUM_PACKET_SIZE),
// Variable Byte Integer
SUBSCRIPTION_IDENTIFIER(MqttProperties.SUBSCRIPTION_IDENTIFIER),
// UTF-8 Encoded String properties
CONTENT_TYPE(MqttProperties.CONTENT_TYPE),
RESPONSE_TOPIC(MqttProperties.RESPONSE_TOPIC),
ASSIGNED_CLIENT_IDENTIFIER(MqttProperties.ASSIGNED_CLIENT_IDENTIFIER),
AUTHENTICATION_METHOD(MqttProperties.AUTHENTICATION_METHOD),
RESPONSE_INFORMATION(MqttProperties.RESPONSE_INFORMATION),
SERVER_REFERENCE(MqttProperties.SERVER_REFERENCE),
REASON_STRING(MqttProperties.REASON_STRING),
USER_PROPERTY(MqttProperties.USER_PROPERTY),
// Binary Data
CORRELATION_DATA(MqttProperties.CORRELATION_DATA),
AUTHENTICATION_DATA(MqttProperties.AUTHENTICATION_DATA);
Source
Frequently Asked Questions
What is the MqttProperties class?
MqttProperties is a class in the netty codebase, defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttProperties.java.
Where is MqttProperties defined?
MqttProperties is defined in codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttProperties.java at line 28.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free