1
0
Fork 0
mirror of https://codeberg.org/Mercury-IM/Smack synced 2024-11-22 14:22:05 +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 * 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 * 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 * 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> * un/compress network data so under high load the server performance might be affected.
* <p/> * <p>
* <p>
* Stream compression has to have been previously offered by the server. Currently only the * 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 * zlib method is supported by the client. Stream compression negotiation has to be done
* before authentication took place.<p> * before authentication took place.<p>
* <p/> * <p>
* Note: to use stream compression the smackx.jar file has to be present in the classpath.
* *
* @return true if stream compression negotiation was successful. * @return true if stream compression negotiation was successful.
*/ */