+ case STOP_SERVER:
+ if (port == null) {
+ exitCode = 255;
+ break;
+ }
+
+ try {
+ final String fkey = key;
+ new ConnectActionClientObject(host, port, true) {
+ @Override
+ public void action(Version serverVersion)
+ throws Exception {
+ try {
+ send(new Object[] { fkey, "EXIT" });
+ } catch (Exception e) {
+ Instance.getTraceHandler().error(e);
+ }
+ }
+ }.connect();
+ } catch (IOException e) {
+ Instance.getTraceHandler().error(e);
+ }
+ break;