C# Class MongoDB.Protocol.RequestMessageBase

Description of Message.
Inheritance: MongoDB.Protocol.MessageBase, IRequestMessage
显示文件 Open project: oz-systems/mongodb-csharp

Public Methods

Method Description
Write ( Stream stream ) : void

Writes the specified stream.

Protected Methods

Method Description
CalculateBodySize ( MongoDB.Bson.BsonWriter writer ) : int

Calculates the size of the body.

RequestMessageBase ( MongoDB.Bson.BsonWriterSettings bsonWriterSettings ) : System

Initializes a new instance of the RequestMessageBase class.

WriteBody ( MongoDB.Bson.BsonWriter writer ) : void

Writes the body.

Method Details

CalculateBodySize() protected abstract method

Calculates the size of the body.
protected abstract CalculateBodySize ( MongoDB.Bson.BsonWriter writer ) : int
writer MongoDB.Bson.BsonWriter The writer.
return int

RequestMessageBase() protected method

Initializes a new instance of the RequestMessageBase class.
protected RequestMessageBase ( MongoDB.Bson.BsonWriterSettings bsonWriterSettings ) : System
bsonWriterSettings MongoDB.Bson.BsonWriterSettings The bson writer settings.
return System

Write() public method

Writes the specified stream.
public Write ( Stream stream ) : void
stream Stream The stream.
return void

WriteBody() protected abstract method

Writes the body.
protected abstract WriteBody ( MongoDB.Bson.BsonWriter writer ) : void
writer MongoDB.Bson.BsonWriter The writer.
return void