use of net.glowstone.net.pipeline.CompressionHandler in project Glowstone by GlowstoneMC.
the class GlowSession method enableCompression.
public void enableCompression(int threshold) {
// set compression can only be sent once
if (!compresssionSent) {
send(new SetCompressionMessage(threshold));
updatePipeline("compression", new CompressionHandler(threshold));
compresssionSent = true;
}
}
Aggregations