mirror of
https://github.com/moparisthebest/Yaaic
synced 2025-02-16 15:00:14 -05:00
Server: setPassword() getPassword()
This commit is contained in:
parent
90878c9b34
commit
7d55a03a02
@ -36,6 +36,7 @@ public class Server
|
||||
private String title;
|
||||
private String host;
|
||||
private int port;
|
||||
private String password;
|
||||
private Identity identity;
|
||||
|
||||
private LinkedHashMap<String, Conversation> conversations = new LinkedHashMap<String, Conversation>();
|
||||
@ -92,6 +93,26 @@ public class Server
|
||||
this.id = id;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set password of the server
|
||||
*
|
||||
* @param password The password of the server
|
||||
*/
|
||||
public void setPassword(String password)
|
||||
{
|
||||
this.password = password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the password of the server
|
||||
*
|
||||
* @return The password of the server
|
||||
*/
|
||||
public String getPassword()
|
||||
{
|
||||
return password;
|
||||
}
|
||||
|
||||
/**
|
||||
* Get title of server
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user