diff --git a/src/org/yaaic/model/Server.java b/src/org/yaaic/model/Server.java index 255be72..1af5827 100644 --- a/src/org/yaaic/model/Server.java +++ b/src/org/yaaic/model/Server.java @@ -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 conversations = new LinkedHashMap(); @@ -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 *