blob: 50ae468d854692c60aec474396f102c92b02f57e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
package jrummikub.util;
/**
* Data needed for the login in one data type (name, server, password, channel)
*/
public class LoginData {
private String userName;
private String serverName;
private String password;
private String channelName;
/**
* Creates a new set of login data
*
* @param userName
* user name in channel, player name in game
* @param serverName
* server of the user account specified in user name
* @param password
* for account with user name on server
* @param channelName
* channel in which games can be offered and played
*/
public LoginData(String userName, String serverName, String password,
String channelName) {
this.userName = userName;
this.serverName = serverName;
this.password = password;
this.channelName = channelName;
}
/**
* Getter for user name
*
* @return user name
*/
public String getUserName() {
return userName;
}
/**
* Getter for server name
*
* @return server name
*/
public String getServerName() {
return serverName;
}
/**
* Getter for password
*
* @return password
*/
public String getPassword() {
return password;
}
/**
* Getter for channel name
*
* @return channel name
*/
public String getChannelName() {
return channelName;
}
}
|