判断mqtt客户端是否在线
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
package com.njcn.access.pojo.dto.mqtt;
|
||||
|
||||
import com.alibaba.nacos.shaded.com.google.gson.annotations.SerializedName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
/**
|
||||
* 类的介绍:
|
||||
*
|
||||
* @author xuyang
|
||||
* @version 1.0.0
|
||||
* @createTime 2023/7/17 9:09
|
||||
*/
|
||||
@Data
|
||||
public class MqttClientDto implements Serializable {
|
||||
|
||||
@SerializedName("clientid")
|
||||
private String clientId;
|
||||
|
||||
@SerializedName("username")
|
||||
private String userName;
|
||||
|
||||
private boolean connected;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user