Interface IMessageEncoderFactory
Represents a message encoder factory.
[Obsolete("This interface will be made internal in a later release.")]
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.