Interface IMessageEncoderFactory
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.