Archived
0

Zond: принудительное отключение от ASys

This commit is contained in:
2017-06-17 01:13:33 +03:00
parent f1bebae160
commit c81232ef96
2 changed files with 3 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
group = 'asys' group = 'asys'
version = '0.7.4-SNAPSHOT' version = '0.7.5-SNAPSHOT'
apply plugin: 'application' apply plugin: 'application'

View File

@@ -63,6 +63,8 @@ public class ZondCommandHandler implements CommandHandler {
} }
} else if (line.equalsIgnoreCase("connect")) { } else if (line.equalsIgnoreCase("connect")) {
Connector.getInstance().startReconnect("127.0.0.1", 8779); Connector.getInstance().startReconnect("127.0.0.1", 8779);
} else if (line.equalsIgnoreCase("disconnect")) {
Connector.getInstance().shutdown();
} }
} }