Wexus2 0.20
wexus::MongooseServer Class Reference

#include <MongooseServer.h>

Inheritance diagram for wexus::MongooseServer:

List of all members.

Public Member Functions

 MongooseServer (const wexus::HTTPParams &opt)
virtual ~MongooseServer (void)
virtual bool isRunning (void) const
 is the web server currently running?
virtual void start (void)
 starts the web server
virtual void quit (void)
virtual void wait (void)
 waits until the server finishes

Detailed Description

A mongoose based wexus::HTTPServer implementation.

Author:
Aleksander Demko

Constructor & Destructor Documentation

wexus::MongooseServer::MongooseServer ( const wexus::HTTPParams opt)

Creates a new web server. This doesn't actually start it thougth, start() does that.

Author:
Aleksander Demko
virtual wexus::MongooseServer::~MongooseServer ( void  ) [virtual]

Destructor. If the server is running, this will also call quit() and then wait()

Author:
Aleksander Demko

Member Function Documentation

virtual void wexus::MongooseServer::quit ( void  ) [virtual]

notifies the web server to stop. you should still do a wait() this function may or may not block

Implements wexus::HTTPServer.


The documentation for this class was generated from the following file:
 All Classes Namespaces Functions Variables Enumerations Enumerator