Table of Contents

Class CompressedMessageEncoderSelector

Namespace
MongoDB.Driver.Core.WireProtocol.Messages.Encoders
Assembly
MongoDB.Driver.Core.dll

Represents a message encoder selector for compressed messages.

public class CompressedMessageEncoderSelector : IMessageEncoderSelector
Inheritance
CompressedMessageEncoderSelector
Implements
Inherited Members

Constructors

CompressedMessageEncoderSelector(IMessageEncoderSelector)

Represents a compressed message encoder selector.

public CompressedMessageEncoderSelector(IMessageEncoderSelector originalEncoderSelector)

Parameters

originalEncoderSelector IMessageEncoderSelector

The original encoder.

Methods

GetEncoder(IMessageEncoderFactory)

Get the appropriate encoder from an encoder factory.

public IMessageEncoder GetEncoder(IMessageEncoderFactory encoderFactory)

Parameters

encoderFactory IMessageEncoderFactory

The encoder factory.

Returns

IMessageEncoder

A message encoder.