netty-修改请求框架,并且注册客户端信息落地,之后通过调用netty接口来进行后续操作。

This commit is contained in:
limqhz
2020-07-11 23:33:02 +08:00
parent 3703ee2844
commit 6f08b24538
29 changed files with 266 additions and 689 deletions

View File

@@ -2,6 +2,9 @@ package com.enums;
public enum DeviceStatusEnum {
OFFLINE(0, "断开连接"),
/**
* 重连服务器无法主动发起
*/
RECONNECT(1, "正在重连"),
ONLINE(2, "已连接");
public Integer value;

View File

@@ -28,7 +28,7 @@ public class Device implements Serializable {
private String stream;
/**
* 设备状态 0未连接 1正在重连 2已连接
* 设备状态 0未连接 1正在重连(无用) 2已连接
*/
private Integer status;