MetriVis | Overview | Download | User Manual | Development |
Reference | Overview | Design Documentation | Reference Backend | Reference Frontend |
#include <TimeLineDispatcher.h>
Public Member Functions | |
TimeLineDispatcher (int clone_id=-1) | |
virtual | ~TimeLineDispatcher () |
virtual int | Init () |
Initializes the TimeLineDispatcher class. | |
virtual int | Uninit () |
Uninitializes the TimeLineDispatcher class. | |
Protected Member Functions | |
void | Run () |
Processes the HTTP request. |
Incoming connections are handled within this class. To handle and parse http requests a slightly changed version of the easyHTTPD framework is used ( http://sourceforge.net/projects/ehttpd/).
metrivis::TimeLineDispatcher::TimeLineDispatcher | ( | int | clone_id = -1 |
) |
Constructor for TimeLineDispatcher class
Default constructor. See header file for overview.
metrivis::TimeLineDispatcher::~TimeLineDispatcher | ( | ) | [virtual] |
Deconstructor for TimeLineDispatcher class
Grounds all variables to initial values to minimize lucky post-mortem usage. See header file for overview.
int metrivis::TimeLineDispatcher::Init | ( | ) | [virtual] |
Initializes the TimeLineDispatcher class.
Makes the TimeLineDispatcher ready to handle requests. Must be called before listen() is called.
Initialization of the TimeLineDispatcher. See header file for overview.
Reimplemented from metrivis::Thread.
int metrivis::TimeLineDispatcher::Uninit | ( | ) | [virtual] |
Uninitializes the TimeLineDispatcher class.
After stopping the listening thread the driver may be uninitialized. This frees the socket again.
Uninitialization of the TimeLineDispatcher. See header file for overview.
Reimplemented from metrivis::Thread.
void metrivis::TimeLineDispatcher::Run | ( | ) | [protected, virtual] |
Processes the HTTP request.
Will be called by the RequestHandler::ThreadPool::ProcessRequest function. This is the virtu
See header file for overview.
Reimplemented from metrivis::RequestDispatcher.