Home / File/ MqttProperties.java — netty Source File

MqttProperties.java — netty Source File

Architecture documentation for MqttProperties.java, a java file in the netty codebase.

Entity Profile

Relationship Graph

Source Code

/*
 * Copyright 2020 The Netty Project
 *
 * The Netty Project licenses this file to you under the Apache License,
 * version 2.0 (the "License"); you may not use this file except in compliance
 * with the License. You may obtain a copy of the License at:
 *
 *   https://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations
 * under the License.
 */
package io.netty.handler.codec.mqtt;

import io.netty.util.collection.IntObjectHashMap;

import java.util.Collection;
import java.util.Collections;
import java.util.List;
import java.util.ArrayList;

/**
 * MQTT Properties container
 * */
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;
// ... (395 more lines)

Domain

Subdomains

Frequently Asked Questions

What does MqttProperties.java do?
MqttProperties.java is a source file in the netty codebase, written in java. It belongs to the Buffer domain, Allocators subdomain.
Where is MqttProperties.java in the architecture?
MqttProperties.java is located at codec-mqtt/src/main/java/io/netty/handler/codec/mqtt/MqttProperties.java (domain: Buffer, subdomain: Allocators, directory: codec-mqtt/src/main/java/io/netty/handler/codec/mqtt).

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free