|
|
|
@ -119,7 +119,11 @@ public class IecClient implements ClientEventListener {
|
|
|
|
|
} catch (Exception ignore) {
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
log.info("61850停止订阅, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
|
|
|
|
|
if (keep) {
|
|
|
|
|
log.warn("61850订阅已断开, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
|
|
|
|
|
} else {
|
|
|
|
|
log.info("61850停止订阅, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public List<FileInformation> listFile(String path) throws Exception {
|
|
|
|
@ -147,7 +151,6 @@ public class IecClient implements ClientEventListener {
|
|
|
|
|
if (keep) {
|
|
|
|
|
this.disableReporting();
|
|
|
|
|
this.disconnect();
|
|
|
|
|
log.warn("61850订阅已断开, ied=" + ied.getName() + ", ip=" + ied.getIp() + ", port=" + ied.getPort());
|
|
|
|
|
while (retry > 0) {
|
|
|
|
|
retry--;
|
|
|
|
|
try {
|
|
|
|
|