summaryrefslogtreecommitdiffstats
path: root/src/jrummikub/util
diff options
context:
space:
mode:
authorMatthias Schiffer <mschiffer@universe-factory.net>2011-06-10 19:06:51 +0200
committerMatthias Schiffer <mschiffer@universe-factory.net>2011-06-10 19:06:51 +0200
commit28e5462b08ad8d086b445c08113ab5b2d0151466 (patch)
treedf2add043654522c700ed52db4ca6d4860a953c3 /src/jrummikub/util
parente4ac4b55cd048f83b0c545026191c6df2ae990d0 (diff)
downloadJRummikub-28e5462b08ad8d086b445c08113ab5b2d0151466.tar
JRummikub-28e5462b08ad8d086b445c08113ab5b2d0151466.zip
Use LoginData type for login data
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@403 72836036-5685-4462-b002-a69064685172
Diffstat (limited to 'src/jrummikub/util')
-rw-r--r--src/jrummikub/util/LoginData.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/jrummikub/util/LoginData.java b/src/jrummikub/util/LoginData.java
new file mode 100644
index 0000000..fb295c1
--- /dev/null
+++ b/src/jrummikub/util/LoginData.java
@@ -0,0 +1,32 @@
+package jrummikub.util;
+
+public class LoginData {
+ private String userName;
+ private String serverName;
+ private String password;
+ private String channelName;
+
+ public LoginData(String userName, String serverName, String password,
+ String channelName) {
+ this.userName = userName;
+ this.serverName = serverName;
+ this.password = password;
+ this.channelName = channelName;
+ }
+
+ public String getUserName() {
+ return userName;
+ }
+
+ public String getServerName() {
+ return serverName;
+ }
+
+ public String getPassword() {
+ return password;
+ }
+
+ public String getChannelName() {
+ return channelName;
+ }
+} \ No newline at end of file