mirror of
https://codeberg.org/Mercury-IM/Smack
synced 2025-09-10 10:49:41 +02:00
Updated some javadoc that caused confusion as to the login() behaviour.
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@12194 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
01a1fb7751
commit
0ec7e23666
2 changed files with 14 additions and 48 deletions
|
@ -323,9 +323,13 @@ public abstract class Connection {
|
|||
|
||||
/**
|
||||
* Logs in to the server using the strongest authentication mode supported by
|
||||
* the server, then sets presence to available. If more than five seconds
|
||||
* (default timeout) elapses in each step of the authentication process without
|
||||
* a response from the server, or if an error occurs, a XMPPException will be thrown.<p>
|
||||
* the server, then sets presence to available. If the server supports SASL authentication
|
||||
* then the user will be authenticated using SASL if not Non-SASL authentication will
|
||||
* be tried. If more than five seconds (default timeout) elapses in each step of the
|
||||
* authentication process without a response from the server, or if an error occurs, a
|
||||
* XMPPException will be thrown.<p>
|
||||
*
|
||||
* Before logging in (i.e. authenticate) to the server the connection must be connected.
|
||||
*
|
||||
* It is possible to log in without sending an initial available presence by using
|
||||
* {@link ConnectionConfiguration#setSendPresence(boolean)}. If this connection is
|
||||
|
@ -346,15 +350,13 @@ public abstract class Connection {
|
|||
|
||||
/**
|
||||
* Logs in to the server using the strongest authentication mode supported by
|
||||
* the server. If the server supports SASL authentication then the user will be
|
||||
* authenticated using SASL if not Non-SASL authentication will be tried. If more than
|
||||
* five seconds (default timeout) elapses in each step of the authentication process
|
||||
* without a response from the server, or if an error occurs, a XMPPException will be
|
||||
* thrown.<p>
|
||||
* the server, then sets presence to available. If the server supports SASL authentication
|
||||
* then the user will be authenticated using SASL if not Non-SASL authentication will
|
||||
* be tried. If more than five seconds (default timeout) elapses in each step of the
|
||||
* authentication process without a response from the server, or if an error occurs, a
|
||||
* XMPPException will be thrown.<p>
|
||||
*
|
||||
* Before logging in (i.e. authenticate) to the server the connection must be connected.
|
||||
* For compatibility and easiness of use the connection will automatically connect to the
|
||||
* server if not already connected.<p>
|
||||
*
|
||||
* It is possible to log in without sending an initial available presence by using
|
||||
* {@link ConnectionConfiguration#setSendPresence(boolean)}. If this connection is
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue