summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTzafrir Cohen <tzafrir@cohens.org.il>2013-12-05 18:03:19 +0200
committerTzafrir Cohen <tzafrir@cohens.org.il>2013-12-05 18:03:19 +0200
commitfb697bd5fd643359347462d1150f24d3f8657f04 (patch)
tree9eb726e52dad42609625701268236d2515e1dd37
parentf8c09ce8db590dc604008f82252d36ba02fc1c98 (diff)
Update tasks
-rw-r--r--src/Client/ChatClient.java17
-rw-r--r--src/Server/ChatServer.java1
2 files changed, 10 insertions, 8 deletions
diff --git a/src/Client/ChatClient.java b/src/Client/ChatClient.java
index 4d6567b..619965f 100644
--- a/src/Client/ChatClient.java
+++ b/src/Client/ChatClient.java
@@ -100,17 +100,18 @@ public class ChatClient
/** Tasks
- * TODO: 4. But we do want to allow sending commands to the channel. A
- * message line that begins with the word "/QUOTE", will be sent as is
- * (except the word "/QUOTE") to the server.
+ * TODO: 5. When we get from the server a PRIVMSG, parse it and show who sent it.
+ * Print other messages (Server messages) differently.
+ *
+ * Example:
+ *
+ * Instead of: :tzafrir!~tzafrir@localhost PRIVMSG #the-chan :Hello There
+ * print: [#the-chan] Hello There
*
- * TODO: 5. Join a channel at startup: For any server besides our own we need to send
+ * TODO: 6. Join a channel at startup: For any server besides our own we need to send
* a JOIN command (see how it is handled in the server).
*
- * TODO: 6. Don't allow sending text until we joined a channel.
- *
- * TODO: 7. When we get from the server a PRIVMSG, parse it and show who sent it.
- * Print other messages (Server messages) differently.
+ * TODO: 7. Don't allow sending text until we joined a channel.
*/
/** Later
diff --git a/src/Server/ChatServer.java b/src/Server/ChatServer.java
index 0a384ba..4a21cfd 100644
--- a/src/Server/ChatServer.java
+++ b/src/Server/ChatServer.java
@@ -50,6 +50,7 @@ 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.
* * Keep channels up: PING occasionally
* * Graphical interface for server
*/