C# Class CSMongo.Responses.ResponseBase

A response from a request to the database. No need to make changes or act with the stream in the constructor since the abstract method ParseStream handles that
Show file Open project: hugoware/CSMongo

Public Properties

Property Type Description
ResultOk double

Public Methods

Method Description
ResponseBase ( Stream response ) : System

Creates a new response by reading the standard Mongo header stream

Protected Methods

Method Description
ParseStream ( Stream stream ) : void

Required function for reading incoming content

Private Methods

Method Description
_ReadResponse ( Stream response ) : void

Method Details

ParseStream() protected abstract method

Required function for reading incoming content
protected abstract ParseStream ( Stream stream ) : void
stream Stream
return void

ResponseBase() public method

Creates a new response by reading the standard Mongo header stream
public ResponseBase ( Stream response ) : System
response Stream
return System

Property Details

ResultOk public static property

Response from the server meaning a request completed successfully
public static double ResultOk
return double