1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-08-13 16:53:50 -04:00

Server: setPassword() getPassword()

This commit is contained in:
Sebastian Kaspari 2010-03-13 16:44:05 +01:00
parent 90878c9b34
commit 7d55a03a02

View File

@ -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
*