mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-11-22 20:12:07 +01:00
Javadoc fixes.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@2039 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
3e4473c6b8
commit
1d555165b0
1 changed files with 14 additions and 0 deletions
|
@ -74,10 +74,24 @@ import java.security.cert.CertificateNotYetValidException;
|
|||
*/
|
||||
public class SSLXMPPConnection extends XMPPConnection {
|
||||
|
||||
/**
|
||||
* Creates a new SSL connection to the specified host on the default
|
||||
* SSL port (5223).
|
||||
*
|
||||
* @param host the XMPP host.
|
||||
* @throws XMPPException if an error occurs making the connection.
|
||||
*/
|
||||
public SSLXMPPConnection(String host) throws XMPPException {
|
||||
this(host, 5223);
|
||||
}
|
||||
|
||||
/**
|
||||
* Creates a new SSL connection to the specified host on the specified port.
|
||||
*
|
||||
* @param host the XMPP host.
|
||||
* @param port the port to use for the connection (default XMPP SSL port is 5223).
|
||||
* @throws XMPPException if an error occurs making the connection.
|
||||
*/
|
||||
public SSLXMPPConnection(String host, int port) throws XMPPException {
|
||||
this.host = host;
|
||||
this.port = port;
|
||||
|
|
Loading…
Reference in a new issue