Browse Source

sendMessage Method

remotes/origin/client-handler
Valentin Spiroski 11 months ago
parent
commit
1da0f046d4
  1. 4
      src/main/java/ClientHandler.java

4
src/main/java/ClientHandler.java

@ -42,5 +42,9 @@ public class ClientHandler implements Runnable {
}
}
public void sendMessage(String message) {
toClientWriter.println(message);
toClientWriter.flush();
}
}
Loading…
Cancel
Save