Table of Contents

Interface IMessageEncoderFactory

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

Represents a message encoder factory.

public interface IMessageEncoderFactory

Methods

GetCommandMessageEncoder()

Gets an encoder for a Command message.

GetCommandRequestMessageEncoder()

Gets an encoder for a Command request message.

GetCommandResponseMessageEncoder()

Gets an encoder for a Command response message.

GetCompressedMessageEncoder(IMessageEncoderSelector)

Gets an encoder for a Compressed message.

GetQueryMessageEncoder()

Gets an encoder for a Query message.

GetReplyMessageEncoder<TDocument>(IBsonSerializer<TDocument>)

Gets an encoder for a Reply message.