1
0
Fork 0
mirror of https://github.com/vanitasvitae/Smack.git synced 2024-11-22 20:12:07 +01:00

Fix javadoc of useCompression()

smackx.jar no longer need to be in the classpath in order to use
compression.
This commit is contained in:
Florian Schmaus 2014-04-23 09:50:39 +02:00
parent 069e7d7e60
commit f5276a78c2

View file

@ -771,13 +771,13 @@ public class XMPPTCPConnection extends XMPPConnection {
* Starts using stream compression that will compress network traffic. Traffic can be
* reduced up to 90%. Therefore, stream compression is ideal when using a slow speed network
* connection. However, the server and the client will need to use more CPU time in order to
* un/compress network data so under high load the server performance might be affected.<p>
* <p/>
* un/compress network data so under high load the server performance might be affected.
* <p>
* <p>
* Stream compression has to have been previously offered by the server. Currently only the
* zlib method is supported by the client. Stream compression negotiation has to be done
* before authentication took place.<p>
* <p/>
* Note: to use stream compression the smackx.jar file has to be present in the classpath.
* <p>
*
* @return true if stream compression negotiation was successful.
*/