summaryrefslogtreecommitdiff
path: root/src/Client/ChatClientWriter.java
diff options
context:
space:
mode:
authorDor Bivas <dor1_b@walla.com>2014-04-15 11:25:19 +0300
committerDor Bivas <dor1_b@walla.com>2014-04-15 11:25:19 +0300
commitb061c9e1f749f6e1392eaa9e1746e30f3a2a6d0d (patch)
treeb2ea3bf987b6c952bb66f4c62c3fd1eb65901a4f /src/Client/ChatClientWriter.java
parent61b1467277e46d0ae87fe18b31419a849323b74c (diff)
Code documentation fixes
Diffstat (limited to 'src/Client/ChatClientWriter.java')
-rw-r--r--src/Client/ChatClientWriter.java10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Client/ChatClientWriter.java b/src/Client/ChatClientWriter.java
index 9d89cea..91a1d99 100644
--- a/src/Client/ChatClientWriter.java
+++ b/src/Client/ChatClientWriter.java
@@ -14,16 +14,18 @@ public class ChatClientWriter extends Thread
public static Scanner reader = new Scanner(System.in);
/** constructor
- * @param the socket and the client info */
+ * @param soc - the socket
+ * @param client - the CLient info */
+
public ChatClientWriter(Socket soc ,ChatClient client)
{
this.soc = soc;
this.client = client;
this.queue = new LinkedBlockingQueue<String>();
}
-
+
/** add message to queue.
- * @param message */
+ * @param line which is the message */
public void sendLine (String line)
{
try
@@ -37,7 +39,7 @@ public class ChatClientWriter extends Thread
}
/** writing the line and making sure the package will be pushed on the stream
- * @param the line and the client info */
+ * @param line and the client info */
public void println(String line)
{
try