You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
581 B
C#
30 lines
581 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Paho.MqttDotnet
|
|
{
|
|
/// <summary>
|
|
/// 表示mqtt持久化方式
|
|
/// </summary>
|
|
public enum MqttPersistence
|
|
{
|
|
/// <summary>
|
|
/// 默认方式,文件持久化
|
|
/// </summary>
|
|
Default = 0,
|
|
|
|
/// <summary>
|
|
/// 不持久化,内存保存
|
|
/// </summary>
|
|
None = 1,
|
|
|
|
/// <summary>
|
|
/// 自定义化方式
|
|
/// </summary>
|
|
User = 2,
|
|
}
|
|
}
|