this.isNullTerminated = addressConfig.getEnv("isNullTerminated", false).getValue();
this.maxChunkSize = addressConfig.getEnv("maxChunkSize", MAX_CHUNKSIZE_DEFAULT).getValue();
if (log.isLoggable(Level.FINE)) log.fine("Max chunk size is '" + this.maxChunkSize + "'");
if (isCompressZlibStream()) { // Statically configured for server side protocol plugin
this.iStream = new ZFlushInputStream(iStream);
this.oStream = new ZFlushOutputStream(oStream);
}
else if (isCompressZlib()) { // Compress each message indiviually
this.iStream = new ZBlockInputStream(iStream);
this.oStream = new ZBlockOutputStream(oStream, getMinSizeForCompression());