summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/server
diff options
context:
space:
mode:
Diffstat (limited to 'src/jrummikub/server')
-rw-r--r--src/jrummikub/server/DedicatedServer.java11
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;
}