Package com.jme3.network.message
Class ZIPCompressedMessage
java.lang.Object
com.jme3.network.AbstractMessage
com.jme3.network.message.CompressedMessage
com.jme3.network.message.ZIPCompressedMessage
- All Implemented Interfaces:
Message
Compress a message using this ZIPCompressedMessage class
-
Constructor Summary
-
Method Summary
Methods inherited from class com.jme3.network.message.CompressedMessage
getMessage, setMessage
Methods inherited from class com.jme3.network.AbstractMessage
isReliable, setReliable
-
Constructor Details
-
ZIPCompressedMessage
public ZIPCompressedMessage() -
ZIPCompressedMessage
-
ZIPCompressedMessage
-
-
Method Details
-
setLevel
public static void setLevel(int level) Set the compression level, where 1 is the best compression but slower and 9 is the weakest compression but the quickest. Default is 6.- Parameters:
level
- The level.
-
getLevel
public int getLevel()
-