diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-21 15:23:29 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-06-21 15:23:29 +0200 |
commit | 7899a38fe63a819d405a18e0139cea6ff95aac33 (patch) | |
tree | 559c4f4f80f0fad9548bb31673be9e89c70b72c5 /src/jrummikub/server | |
parent | e4e66240bf864354715f3812f70444d7f7511dd2 (diff) | |
download | JRummikub-7899a38fe63a819d405a18e0139cea6ff95aac33.tar JRummikub-7899a38fe63a819d405a18e0139cea6ff95aac33.zip |
Noch mehr Kommentare, z.B. alle Methoden im Model und in der IView
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@547 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/server')
-rw-r--r-- | src/jrummikub/server/DedicatedServer.java | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/jrummikub/server/DedicatedServer.java b/src/jrummikub/server/DedicatedServer.java index a31c6f5..42345a6 100644 --- a/src/jrummikub/server/DedicatedServer.java +++ b/src/jrummikub/server/DedicatedServer.java @@ -18,6 +18,12 @@ public class DedicatedServer { String serverPassword; String hostName; + /** + * Creates a new dedicated server with the specified password + * + * @param serverPassword + * the password + */ public DedicatedServer(String serverPassword) { this.serverPassword = serverPassword; try { @@ -29,6 +35,11 @@ public class DedicatedServer { } + /** + * Getter for host name + * + * @return host name + */ public String getHostName() { return hostName; } |