Naanou.ResourceExchange
Class NaanouContext

Field Summary
string description
Naanou.ResourceExchange.DBLister lister

Fields inherited from class ClintHeyer.Httpd.FSContext
docRoot, mount, readBufferLenSet

Fields inherited from class ClintHeyer.Httpd.Context
configuration, contexts, padlock, parent, requiresSession, sessionManager, throttleRate

Constructor Summary
NaanouContext(string mount, string docRoot, ClintHeyer.Httpd.Context parent, ClintHeyer.Httpd.Lock padlock)
         Constructor. Defines a mount point, document root, parent context and a lock

Property Summary
string Description
Naanou.ResourceExchange.DBLister Lister

Properties inherited from class ClintHeyer.Httpd.FSContext
DocumentRoot, MountedPoint, Url

Properties inherited from class ClintHeyer.Httpd.Context
Lock, Parent, RequiresSession, ServerManager, SessionManager, ThrottleRate, TicketIssuer

Method Summary
void DBListing(ClintHeyer.Httpd.HttpRequest request, string extraPath)
void Handle(ClintHeyer.Httpd.HttpRequest request, string extraPath)
         Handle a request
bool IsValidRequest(ClintHeyer.Httpd.HttpRequest request)
         Checks if a request is valid, returns false if its not

Methods inherited from class ClintHeyer.Httpd.FSContext
CanHandleRequest, OnThrottleChange, SendFile, SendStream, ToString

Methods inherited from class ClintHeyer.Httpd.Context
AddContext, AddResponseHandler, GetContexts, GetMimeType, GetResponseHandler, IConfigurable.Get, IConfigurable.GetBool, IConfigurable.GetFloat, IConfigurable.GetInt, IConfigurable.GetString, LoadConfig, OnReplyCompleted, OnReplyCompletedEvent, OnReplyStarted, OnReplyStartedEvent, OnThrottleChangeEvent, RemoveContext, SaveConfig

Methods inherited from class System.Object
Equals, Finalize, GetHashCode, GetType, MemberwiseClone

Events inherited from class ClintHeyer.Httpd.Context
ReplyCompleted, ReplyStarted, ThrottleChange


Field Detail

description

protected string description


lister

private Naanou.ResourceExchange.DBLister lister

Constructor Detail

NaanouContext

public NaanouContext(string mount,
                     string docRoot,
                     ClintHeyer.Httpd.Context parent,
                     ClintHeyer.Httpd.Lock padlock)

Constructor. Defines a mount point, document root, parent context and a lock

Parameters:
mount - Mount point
docRoot - Document root
parent - Parent context
padlock - Lock (or null)
Property Detail

Description

public string Description


Lister

public Naanou.ResourceExchange.DBLister Lister

Method Detail

DBListing

private void DBListing(ClintHeyer.Httpd.HttpRequest request,
                       string extraPath)


Handle

public void Handle(ClintHeyer.Httpd.HttpRequest request,
                   string extraPath)

Handle a request

Parameters:
request - Request
extraPath - Extra path
Throws:
ClintHeyer.Httpd.ResourceLockedException - Locked

IsValidRequest

protected bool IsValidRequest(ClintHeyer.Httpd.HttpRequest request)

Checks if a request is valid, returns false if its not

Parameters:
request - Request
Returns:
Returns true if request is valid and should be processed