package com.mortals.xhx.common.model;


/**
 * 消息头
 *
 * @author: zxfei
 * @date: 2021/11/22 11:15
 */
public class MessageHeader {
    /**
     * 客户id
     */
    public static final String CLIENTID = "clientId";
    /**
     * 协议
     */
    public static final String MESSAGEPROTOCOL = "protocol";
    /**
     * 时间戳
     */
    public static final String TIMESTAMP = "timestamp";
    /**
     * 消息签名
     */
    public static final String MESSAGESIGN = "sign";
    /**
     * 消息类型
     */
    public static final String MESSAGETYPE = "messageType";
    public static final String DEVICECODE = "deviceCode";
    /**
     * topic
     */
    public static final String TOPIC = "topic";
    /**
     * 消息等级
     */
    public static final String QOS = "qos";

    public static final String RETAIN = "retain";

    public static final String WILL = "will";

    public static final String DUP = "dup";

}
