|
|
@ -244,20 +244,15 @@ public class DesignerSocketIO { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void call(Object... objects) { |
|
|
|
public void call(Object... objects) { |
|
|
|
FineLoggerFactory.getLogger().info("start disConnectHintTimer"); |
|
|
|
FineLoggerFactory.getLogger().info("start disConnectHintTimer"); |
|
|
|
try { |
|
|
|
/* |
|
|
|
/* |
|
|
|
* todo 远程心跳断开不一定 socket 断开 和远程紧密相关的业务都绑定在心跳上,切换成心跳断开之后进行提醒, |
|
|
|
* todo 远程心跳断开不一定 socket 断开 和远程紧密相关的业务都绑定在心跳上,切换成心跳断开之后进行提醒, |
|
|
|
* socket 只用推日志和通知配置变更 |
|
|
|
* socket 只用推日志和通知配置变更 |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
printLog(objects, PrintEventLogImpl.ERROR, "disConnected args: {}"); |
|
|
|
printLog(objects, PrintEventLogImpl.ERROR, "disConnected args: {}"); |
|
|
|
if (status != Status.Disconnecting) { |
|
|
|
if (status != Status.Disconnecting) { |
|
|
|
dealWithSocketDisconnect(); |
|
|
|
dealWithSocketDisconnect(); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
status = Status.Disconnected; |
|
|
|
|
|
|
|
} finally { |
|
|
|
|
|
|
|
disConnectHintTimer.cancel(); |
|
|
|
|
|
|
|
disConnectHintTimer = null; |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
status = Status.Disconnected; |
|
|
|
} |
|
|
|
} |
|
|
|
}; |
|
|
|
}; |
|
|
|
|
|
|
|
|
|
|
|