internal void SetEncoding(CompressionConfig cfg) { if (cfg.Provider == CompressionConfig.CompressionProvider.Coconet) { this.Encoding = NetworkChannel.DataEncodingScheme.Coconet; } else if (cfg.Provider == CompressionConfig.CompressionProvider.Xpress) { this.Encoding = NetworkChannel.DataEncodingScheme.CompressedXpress; } else { this.Encoding = NetworkChannel.DataEncodingScheme.Uncompressed; } this.CompressionConfig = cfg; }
internal void SetEncoding(CompressionConfig cfg) { this.m_transport.SetEncoding(cfg); }