Home | History | Annotate | Download | only in smack

Lines Matching refs:compression

23 import org.jivesoftware.smack.compression.XMPPInputOutputStream;
98 * Collection of available stream compression methods offered by the server.
103 * Set to true by packet writer if the server acknowledged the compression
112 * will be used if available, stream compression is disabled, and standard SASL
245 // If compression is enabled then request the server to use stream compression
308 // If compression is enabled then request the server to use stream compression
903 * Sets the available stream compression methods offered by the server.
905 * @param methods compression methods offered by the server.
912 * Returns the compression handler that can be used for one compression methods offered by the server.
936 * Starts using stream compression that will compress network traffic. Traffic can be
937 * reduced up to 90%. Therefore, stream compression is ideal when using a slow speed network
941 * Stream compression has to have been previously offered by the server. Currently only the
942 * zlib method is supported by the client. Stream compression negotiation has to be done
945 * Note: to use stream compression the smackx.jar file has to be present in the classpath.
947 * @return true if stream compression negotiation was successful.
950 // If stream compression was offered by the server and we want to use
951 // compression then send compression request to the server
953 throw new IllegalStateException("Compression should be negotiated before authentication.");
958 // Wait until compression is being used or a timeout happened
973 * Request the server that we want to start using stream compression. When using TLS
974 * then negotiation of stream compression can only happen after TLS was negotiated. If TLS
975 * compression is being used the stream compression should not be used.
989 * Start using stream compression since the server has acknowledged stream compression.
991 * @throws Exception if there is an exception starting stream compression.
1002 // Notify that compression is being used
1009 * Notifies the XMPP connection that stream compression was denied so that