C/C++ Reference
EhDir Struct Reference

The EventHandler container class. More...

#include <EvntHndl.h>

Inheritance diagram for EhDir:
Collaboration diagram for EhDir:

List of all members.

Public Member Functions

 EhDir (const char *dirName, HttpServer *server, EventHandlerConfig *cfg=0)
 Create an EventHandler container class.
EventHandlergetEventHandler ()
 Returns the event handler object.

Detailed Description

The EventHandler container class.

The EhDir class is the bridge between the Virtual File System used by the HttpServer and the bi-directional asynchronous communication stack, the EventHandler.

EhDir is a subclass of the HttpDir class. One or several instances of the EhDir class can be installed in the Virtual File System. See HttpDir::insertDir for information on how to insert an instance of this class in the virtual file system.