|
|
@ -128,6 +128,7 @@ public class DesignerSocketIO { |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
//表示所有的uri都连接不成功
|
|
|
|
//表示所有的uri都连接不成功
|
|
|
|
FineLoggerFactory.getLogger().warn("All uris failed to connect"); |
|
|
|
FineLoggerFactory.getLogger().warn("All uris failed to connect"); |
|
|
|
|
|
|
|
showSocketDisconnectToast(); |
|
|
|
} |
|
|
|
} |
|
|
|
} catch (Exception e) { |
|
|
|
} catch (Exception e) { |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
|
FineLoggerFactory.getLogger().error(e.getMessage(), e); |
|
|
@ -206,7 +207,6 @@ public class DesignerSocketIO { |
|
|
|
private static final Emitter.Listener failRetry = new Emitter.Listener() { |
|
|
|
private static final Emitter.Listener failRetry = new Emitter.Listener() { |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public void call(Object... args) { |
|
|
|
public void call(Object... args) { |
|
|
|
showSocketDisconnectToast(); |
|
|
|
|
|
|
|
printLog(args, PrintEventLogImpl.WARN, "failed args: {}"); |
|
|
|
printLog(args, PrintEventLogImpl.WARN, "failed args: {}"); |
|
|
|
status = Status.Disconnecting; |
|
|
|
status = Status.Disconnecting; |
|
|
|
socket.close(); |
|
|
|
socket.close(); |
|
|
|