From 848b17e974db8142fbe41b3d6da80b79c0cd14df Mon Sep 17 00:00:00 2001 From: zhou-hao Date: Tue, 4 Aug 2020 14:16:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DgatewayMonitor=E6=97=A0?= =?UTF-8?q?=E6=95=88?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../community/network/tcp/device/TcpServerDeviceGateway.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jetlinks-components/network-component/tcp-component/src/main/java/org/jetlinks/community/network/tcp/device/TcpServerDeviceGateway.java b/jetlinks-components/network-component/tcp-component/src/main/java/org/jetlinks/community/network/tcp/device/TcpServerDeviceGateway.java index 8b3cfff2..66b6cd28 100644 --- a/jetlinks-components/network-component/tcp-component/src/main/java/org/jetlinks/community/network/tcp/device/TcpServerDeviceGateway.java +++ b/jetlinks-components/network-component/tcp-component/src/main/java/org/jetlinks/community/network/tcp/device/TcpServerDeviceGateway.java @@ -122,7 +122,7 @@ class TcpServerDeviceGateway implements DeviceGateway, MonitorSupportDeviceGatew gatewayMonitor.disconnected(); gatewayMonitor.totalConnection(counter.sum()); }); - + gatewayMonitor.connected(); DeviceSession session = sessionManager.getSession(client.getId()); if (session == null) { session = new UnknownTcpDeviceSession(client.getId(), client, getTransport()) {