diff options
author | dor <dor1_b@walla.com> | 2013-11-30 14:04:57 +0200 |
---|---|---|
committer | dor <dor1_b@walla.com> | 2013-11-30 14:04:57 +0200 |
commit | e9f457ddf518eb1bfa5454b02ca2cb16566af2e2 (patch) | |
tree | fe4451e38348703b545d290d2e83641974de231a /src/Server | |
parent | 3b2aaa4d7cfce4e937057f1aa6bb2b41d2838248 (diff) |
Notes
Diffstat (limited to 'src/Server')
-rw-r--r-- | src/Server/Client.java | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Server/Client.java b/src/Server/Client.java index f577ba6..3003c84 100644 --- a/src/Server/Client.java +++ b/src/Server/Client.java @@ -15,33 +15,33 @@ public class Client this.soc = soc;
this.output = output;
}
-
+ /** returning the nick name */
public String getNick()
{
return this.nick;
}
-
+ /** changing the nick name */
public void setNick(String newNick)
{
this.nick = newNick;
}
-
+ /** returning the host name */
public String getHostname()
{
return "me";
}
-
+ /** returning the user name */
public String getUsername()
{
return this.username;
}
-
+ /** changing the user name */
public void setUsername(String newUsername)
{
this.username = newUsername;
}
-
+ /** closing the socket */
public void disconect ()
{
try {
|