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

@@ -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;