Table of Contents

Class CompressedMessage

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

Represents a compressed message.

public class CompressedMessage : MongoDBMessage, IEncodableMessage
Inheritance
CompressedMessage
Implements
Inherited Members

Constructors

CompressedMessage(MongoDBMessage, BsonStream, CompressorType)

Initializes a new instance of the CompressedMessage class.

Properties

CompressorType

The compressor type.

MessageType

Gets the type of the message.

OriginalMessage

The original message.

OriginalMessageStream

The uncompressed original message stream.

Methods

GetEncoder(IMessageEncoderFactory)

Gets an encoder for the message from an encoder factory.