Public Types | Public Member Functions

HttpSessionAccept Class Reference

The continuation mutex is NULL to allow parellel accepts in NT. More...

#include <HttpSessionAccept.h>

Inherits SessionAccept, and detail::HttpSessionAcceptOptions.

Collaboration diagram for HttpSessionAccept:
Collaboration graph
[legend]

Public Types

typedef
detail::HttpSessionAcceptOptions 
Options
 Construction options.

Public Member Functions

 HttpSessionAccept (Options const &opt=Options())
 Default constructor.
 ~HttpSessionAccept ()
void accept (NetVConnection *, MIOBuffer *, IOBufferReader *)
int mainEvent (int event, void *netvc)

Detailed Description

The continuation mutex is NULL to allow parellel accepts in NT.

No state is recorded by the handler and values are required to be set during construction via the Options struct and never changed. So a NULL mutex is safe.

Most of the state is simply passed on to the ClientSession after an accept. It is done here because this is the least bad pathway from the top level configuration to the HTTP session.

Definition at line 174 of file HttpSessionAccept.h.


Member Typedef Documentation

Construction options.

Provide an easier to remember typedef for clients.

Definition at line 182 of file HttpSessionAccept.h.


Constructor & Destructor Documentation

HttpSessionAccept::HttpSessionAccept ( Options const &  opt = Options()  )  [inline]

Default constructor.

Definition at line 189 of file HttpSessionAccept.h.

References mainEvent(), and SET_HANDLER.

HttpSessionAccept::~HttpSessionAccept (  )  [inline]

Definition at line 197 of file HttpSessionAccept.h.


Member Function Documentation

void HttpSessionAccept::accept ( NetVConnection netvc,
MIOBuffer iobuf,
IOBufferReader reader 
)
int HttpSessionAccept::mainEvent ( int  event,
void *  netvc 
)

The documentation for this class was generated from the following files: