package com.ruoyi.common.constant;

/**
 * @author Duke_yzl
 * @date 20230606.01
 * @describe：
 */
public class MqttConstants {

    /** Topic_  **/
    public static final String TOPIC_YU_LOG_MESSAGE_LOGIN = "yu_mqtt:log_message_login";
    public static final String TOPIC_YU_LOG_MESSAGE_OPER = "yu_mqtt:log_message_oper";
    public static final String TOPIC_YU_SERVER_MESSAGE = "yu_mqtt:server_message";
    public static final String TOPIC_YU_MQTT_CLIENT_ONLINE_LOG = "yu_mqtt_client:online_log";

    /** qos   */
    public static final int QOS_0 = 0;
    public static final int QOS_1 = 1;
    public static final int QOS_2 = 2;
    /** 前后端消息  */
    public static final String YU_MQTT_CLIENT_MESSAGE_ONLINE = "yu_mqtt_client:message_online/";
}