C# Class CSMongo.Responses.QueryResponse

Records and details of the result of a QueryRequest
Inheritance: ResponseBase
Show file Open project: hugoware/CSMongo

Public Methods

Method Description
CheckForExceptions ( ) : void

Checks for a default response if there is an error

GetDefaultResponse ( ) : BsonObject

Finds a response or returns an empty object

QueryResponse ( Stream response ) : System

Creates a new QueryResponse using an incoming stream

Protected Methods

Method Description
ParseStream ( Stream stream ) : void

Handles reading back the content for this query

Method Details

CheckForExceptions() public method

Checks for a default response if there is an error
public CheckForExceptions ( ) : void
return void

GetDefaultResponse() public method

Finds a response or returns an empty object
public GetDefaultResponse ( ) : BsonObject
return BsonObject

ParseStream() protected method

Handles reading back the content for this query
protected ParseStream ( Stream stream ) : void
stream Stream
return void

QueryResponse() public method

Creates a new QueryResponse using an incoming stream
public QueryResponse ( Stream response ) : System
response Stream
return System