From afb3a19d98b3e60aeab164b9dfa3a4627a9a6c68 Mon Sep 17 00:00:00 2001 From: Paul Kattenborn Date: Thu, 8 Feb 2024 00:55:46 +0100 Subject: [PATCH] Client-Counter --- .classpath | 81 ++++++++++++++++++----------------- src/main/java/ChatServer.java | 3 ++ 2 files changed, 44 insertions(+), 40 deletions(-) diff --git a/.classpath b/.classpath index 8d95b91..acc4f10 100644 --- a/.classpath +++ b/.classpath @@ -1,40 +1,41 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/main/java/ChatServer.java b/src/main/java/ChatServer.java index 0c60774..e9cfb35 100644 --- a/src/main/java/ChatServer.java +++ b/src/main/java/ChatServer.java @@ -56,5 +56,8 @@ public class ChatServer { public void removeClient(ClientHandler client) { clients.remove(client); } + public List getClients() { + return clients; + } } \ No newline at end of file