This commit is contained in:
Andrin Fassbind
2022-04-16 21:12:55 +02:00
parent 77e9cf6163
commit 6498b8ab33
3 changed files with 6 additions and 4 deletions
@@ -123,7 +123,7 @@ public class ClientConnectionHandler extends ConnectionHandler implements Runnab
try {
System.out.println("Start receiving data...");
while (getConnection().isAvailable()) {
Message data = (Message) getConnection().receive();
Message data = getConnection().receive();
processData(data);
}
System.out.println("Stopped receiving data");