1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-26 22:12:05 +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:
Matt Tucker 2003-08-19 14:43:01 +00:00 committed by mtucker
parent 3e4473c6b8
commit 1d555165b0

View file

@ -74,10 +74,24 @@ import java.security.cert.CertificateNotYetValidException;
*/ */
public class SSLXMPPConnection extends XMPPConnection { 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 { public SSLXMPPConnection(String host) throws XMPPException {
this(host, 5223); 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 { public SSLXMPPConnection(String host, int port) throws XMPPException {
this.host = host; this.host = host;
this.port = port; this.port = port;