no message
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user