summaryrefslogtreecommitdiff
path: root/src/Server
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2013-12-11 16:27:03 +0200
committerDor Bivas <dor1_b@walla.com>2013-12-11 16:29:22 +0200
commitc35cc0aa84ba0f17f0aba07e0b1358dc2545d4f1 (patch)
treead4624c5ff19fcfeaf9796f7454f3e7d96a33c32 /src/Server
parente289f6ea8d3e5e6e548f979890bb0e5593d4b593 (diff)
client tasks 4-7
Diffstat (limited to 'src/Server')
-rw-r--r--src/Server/ChatServer.java8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Server/ChatServer.java b/src/Server/ChatServer.java
index 4a21cfd..0e6e8a8 100644
--- a/src/Server/ChatServer.java
+++ b/src/Server/ChatServer.java
@@ -49,8 +49,12 @@ public class ChatServer
*
* * Allow listening on a different port (from command-line?)
* * Have a test server running on cohens.org.il
- * * Send requests to all channels (use list)
- * * When passing a message (PRIVMSG) - inlcude the sender's nick.
+ * * Send requests to all clients (use list)
+ * - When a client disconnects - remove it from connections list.
+ * - temporary: When we get a PRIVMSG, iterate over connections and write message and every client
+ * - When we get a PRIVMSG, iterate over connections and write the message to each client
+ * * Don't allow two clients with the same nick
+ * * When passing a message (PRIVMSG) - include the sender's nick.
* * Keep channels up: PING occasionally
* * Graphical interface for server
*/