mirror of
https://github.com/moparisthebest/Yaaic
synced 2024-11-23 01:12:17 -05:00
Server: setUseSSL(), useSSL()
This commit is contained in:
parent
1eaff46350
commit
15863cabd1
@ -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
|
||||
*
|
||||
|
Loading…
Reference in New Issue
Block a user