From 7899a38fe63a819d405a18e0139cea6ff95aac33 Mon Sep 17 00:00:00 2001 From: Ida Massow Date: Tue, 21 Jun 2011 15:23:29 +0200 Subject: 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 --- src/jrummikub/server/DedicatedServer.java | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/jrummikub/server') 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; } -- cgit v1.2.3