All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.wizzer.iot.mqtt.server.common.message.DupPublishMessageStore Maven / Gradle / Ivy

/**
 * Copyright (c) 2018, Mr.Wang ([email protected]) All rights reserved.
 */

package cn.wizzer.iot.mqtt.server.common.message;

import java.io.Serializable;

/**
 * PUBLISH重发消息存储
 */
public class DupPublishMessageStore implements Serializable {

	private static final long serialVersionUID = -8112511377194421600L;

	private String clientId;

	private String topic;

	private int mqttQoS;

	private int messageId;

	private byte[] messageBytes;


	public String getClientId() {
		return clientId;
	}

	public DupPublishMessageStore setClientId(String clientId) {
		this.clientId = clientId;
		return this;
	}

	public String getTopic() {
		return topic;
	}

	public DupPublishMessageStore setTopic(String topic) {
		this.topic = topic;
		return this;
	}

	public int getMqttQoS() {
		return mqttQoS;
	}

	public DupPublishMessageStore setMqttQoS(int mqttQoS) {
		this.mqttQoS = mqttQoS;
		return this;
	}

	public int getMessageId() {
		return messageId;
	}

	public DupPublishMessageStore setMessageId(int messageId) {
		this.messageId = messageId;
		return this;
	}

	public byte[] getMessageBytes() {
		return messageBytes;
	}

	public DupPublishMessageStore setMessageBytes(byte[] messageBytes) {
		this.messageBytes = messageBytes;
		return this;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy