1
0
mirror of https://github.com/moparisthebest/Yaaic synced 2024-11-23 01:12:17 -05:00

Server: setUseSSL(), useSSL()

This commit is contained in:
Sebastian Kaspari 2010-04-13 19:19:08 +02:00
parent 1eaff46350
commit 15863cabd1

View File

@ -38,6 +38,7 @@ public class Server
private int port;
private String password;
private String charset;
private boolean useSSL = false;
private Identity identity;
private LinkedHashMap<String, Conversation> conversations = new LinkedHashMap<String, Conversation>();
@ -194,6 +195,24 @@ public class Server
return charset;
}
/**
* Set if this connections needs to use ssl
*/
public void setUseSSL(boolean useSSL)
{
this.setUseSSL(useSSL);
}
/**
* Does this connection use SSL?
*
* @return true if SSL should be used, false otherwise
*/
public boolean useSSL()
{
return useSSL;
}
/**
* Set connection status of server
*