C# Class BF2Statistics.Web.ASP.ASPController

Provides base functionality to ASP related controllers
Show file Open project: BF2Statistics/ControlCenter

Protected Properties

Property Type Description
Client HttpClient
Database BF2Statistics.Database.StatsDatabase
Response ASPResponse

Public Methods

Method Description
ASPController ( HttpClient Client ) : BF2Statistics.Database
HandleRequest ( ) : void

Processes the request, and sends a resonse back to the client

Method Details

ASPController() public method

public ASPController ( HttpClient Client ) : BF2Statistics.Database
Client HttpClient
return BF2Statistics.Database

HandleRequest() public abstract method

Processes the request, and sends a resonse back to the client
public abstract HandleRequest ( ) : void
return void

Property Details

Client protected property

Gets the HttpClient object that made this request
protected HttpClient Client
return HttpClient

Database protected property

Gets or Sets the Stats Database connection
Default is NULL. This variable must be set before using
protected StatsDatabase,BF2Statistics.Database Database
return BF2Statistics.Database.StatsDatabase

Response protected property

Our response object
protected ASPResponse,BF2Statistics.Web.ASP Response
return ASPResponse