Zond: принудительное отключение от ASys
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
group = 'asys'
|
group = 'asys'
|
||||||
version = '0.7.4-SNAPSHOT'
|
version = '0.7.5-SNAPSHOT'
|
||||||
|
|
||||||
apply plugin: 'application'
|
apply plugin: 'application'
|
||||||
|
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user