Browse Source

REPORT-33575 改下方法名称

feature/big-screen
hades 5 years ago
parent
commit
01ba3bf406
  1. 6
      designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

6
designer-realize/src/main/java/com/fr/design/mainframe/socketio/DesignerSocketIO.java

@ -42,7 +42,7 @@ public class DesignerSocketIO {
// 远程设计websocket不支持wss 所以断开无法提醒 // 远程设计websocket不支持wss 所以断开无法提醒
// 使用远程设计的心跳断开来提醒断开 // 使用远程设计的心跳断开来提醒断开
if (DesignerEnvManager.getEnvManager().isHttps()) { if (DesignerEnvManager.getEnvManager().isHttps()) {
showConnectionLost(); showConnectionLostDialog();
} }
} }
}); });
@ -161,13 +161,13 @@ public class DesignerSocketIO {
* socket 只用推日志和通知配置变更 * socket 只用推日志和通知配置变更
*/ */
if (status != Status.Disconnecting) { if (status != Status.Disconnecting) {
showConnectionLost(); showConnectionLostDialog();
} }
status = Status.Disconnected; status = Status.Disconnected;
} }
}; };
private static void showConnectionLost() { private static void showConnectionLostDialog() {
try { try {
UIUtil.invokeAndWaitIfNeeded(new Runnable() { UIUtil.invokeAndWaitIfNeeded(new Runnable() {
@Override @Override

Loading…
Cancel
Save