Browse Source

Einbinden von sendMessage in server

remotes/origin/feature/client/make-input-field-buttons-interactive^2
Paul Kattenborn 11 months ago
parent
commit
c15ed63353
  1. 5
      src/main/java/ChatServer.java

5
src/main/java/ChatServer.java

@ -29,7 +29,10 @@ public class ChatServer {
}
public void broadcastMessage(String s) {
public void broadcastMessage(String message) {
for (ClientHandler client : clients) {
client.sendMessage(message);
}
}

Loading…
Cancel
Save