Naanou.ResourceExchange
Class NaanouServer

Naanou HTTP server

Field Summary
System.Collections.ArrayList requests
System.Threading.ReaderWriterLock rwl

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

Constructor Summary
NaanouServer(ClintHeyer.Httpd.Context parent)
         Constructor

Properties inherited from class ClintHeyer.Httpd.Server
IndexHandler, MaximumRequests, RequestsInProgress, Url

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

Method Summary
void OnReplyCompletedEvent(ClintHeyer.Httpd.Context source, ClintHeyer.Httpd.ReplyArgs args)
         Notification from a reply that it has finished/closed. Override this, make sure base gets called
void OnReplyStartedEvent(ClintHeyer.Httpd.Context source, ClintHeyer.Httpd.ReplyArgs args)
         Nofitication a reply has started
ClintHeyer.Httpd.HttpReply[] RepliesInProgress()
         Gets a list of all replies currently executing in the server

Methods inherited from class ClintHeyer.Httpd.Server
Handle, IsOverloaded, LoadConfig, Resolve, ResolveFromContexts, SaveConfig

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

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

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


Field Detail

requests

private System.Collections.ArrayList requests


rwl

private System.Threading.ReaderWriterLock rwl

Constructor Detail

NaanouServer

internal NaanouServer(ClintHeyer.Httpd.Context parent)

Constructor

Parameters:
parent - Parent context
Method Detail

OnReplyCompletedEvent

public void OnReplyCompletedEvent(ClintHeyer.Httpd.Context source,
                                  ClintHeyer.Httpd.ReplyArgs args)

Notification from a reply that it has finished/closed. Override this, make sure base gets called

Parameters:
source - Source
args - Args

OnReplyStartedEvent

public void OnReplyStartedEvent(ClintHeyer.Httpd.Context source,
                                ClintHeyer.Httpd.ReplyArgs args)

Nofitication a reply has started

Parameters:
source -
args -

RepliesInProgress

public ClintHeyer.Httpd.HttpReply[] RepliesInProgress()

Gets a list of all replies currently executing in the server

Returns: