-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathData.java
More file actions
60 lines (50 loc) · 1.35 KB
/
Data.java
File metadata and controls
60 lines (50 loc) · 1.35 KB
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
/*
* This file is part of the QuickServer library
* Copyright (C) 2003-2005 QuickServer.org
*
* Use, modification, copying and distribution of this software is subject to
* the terms and conditions of the GNU Lesser General Public License.
* You should have received a copy of the GNU LGP License along with this
* library; if not, you can download a copy from <http://www.quickserver.org/>.
*
* For questions, suggestions, bug-reports, enhancement-requests etc.
* visit http://www.quickserver.org
*
*/
package echoserver;
import org.quickserver.net.*;
import org.quickserver.net.server.*;
import java.io.*;
/**
* used by EchoAuthenticatorHandler
*/
public class Data implements ClientData {
private String lastAsked = null;
private String username = null;
private byte password[] = null;
private String welcomeMsg = null;
public void setLastAsked(String lastAsked) {
this.lastAsked = lastAsked;
}
public String getLastAsked() {
return lastAsked;
}
public void setUsername(String username) {
this.username = username;
}
public String getUsername() {
return username;
}
public void setPassword(byte[] password) {
this.password = password;
}
public byte[] getPassword() {
return password;
}
public void setWelcomeMsg(String welcomeMsg) {
this.welcomeMsg = welcomeMsg;
}
public String getWelcomeMsg() {
return welcomeMsg;
}
}