修复gatewayMonitor无效
This commit is contained in:
parent
ea4beb0914
commit
848b17e974
|
|
@ -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()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue