no message

This commit is contained in:
2024-04-26 19:16:38 +03:00
parent 4d629df46f
commit b17e23a93a
12 changed files with 15 additions and 29 deletions

View File

@@ -136,13 +136,11 @@ public class PerformanceAnalyzer extends Component {
});
// UI.Info(String.valueOf(getPort()));
process_thread = new Thread(() -> {
System.out.println("+");
try {
Utils.startScript(Global.TempDirectory, Global.ComponentsDirectory, "analyzer",
"java -jar -Dprism.order=sw "+ Utils.DQuotes(Global.performanceAnalyzer.getFile()) + " --port "+ getPort());
//-
System.out.println("++");
} catch (Exception ex) {
ex.printStackTrace();
}

View File

@@ -88,7 +88,6 @@ public class Visualizer_2 extends OSDComponent {
InetAddress.getLoopbackAddress(),
port, 0
);
Print("+");
in = new BufferedReader(new InputStreamReader(client.getInputStream())); //то что нам приходит от сервера
out = new PrintWriter(client.getOutputStream(), true); //то что мы пишем серверу.
}
@@ -111,7 +110,6 @@ public class Visualizer_2 extends OSDComponent {
out.flush();
System.gc();
out.println(request = request_in);
Print("+");
}
//запрос-ответ. анализируются только общие ошибочные случаи.
public String Command(String request_in) throws Exception {
@@ -126,7 +124,6 @@ public class Visualizer_2 extends OSDComponent {
break;
}
Print("<-" + response);
Print("+");
out.flush();
System.gc();
return response;