Add base files

This commit is contained in:
Hosein
2026-06-12 12:18:48 +03:30
commit 240eac0504
17 changed files with 530 additions and 0 deletions
@@ -0,0 +1,15 @@
package com.university.chat.Server;
public class ChatServer {
// TODO: declare a single shared UserManager instance (static final)
// This MUST be shared by all ClientSession threads so that
// broadcasting and private messaging work correctly.
public static void main(String[] args) {
// TODO: Create a ServerSocket
// TODO: In an infinite loop:
// accept an incoming client connection
// make a new thread running ClientSession for each user.
}
}