Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

WebServer Class Reference

Handle web page requests from anonymous nodes. More...

#include <WebServer.h>

List of all members.

Public Methods

 WebServer ()
 Spawn the web server thread. More...

 ~WebServer ()

Static Public Methods

void * run (void *)
void * handleConnection (void *)
SocketAddress getSocketAddressFromHttp (string request)
 Get the server name and port from the request. More...


Private Attributes

pthread_t m_serverThreadId


Detailed Description

Handle web page requests from anonymous nodes.

Definition at line 4 of file WebServer.h.


Constructor & Destructor Documentation

WebServer::WebServer
 

Spawn the web server thread.

Definition at line 12 of file WebServer.cpp.

WebServer::~WebServer
 

Definition at line 25 of file WebServer.cpp.


Member Function Documentation

SocketAddress WebServer::getSocketAddressFromHttp string request [static]
 

Get the server name and port from the request.

Definition at line 162 of file WebServer.cpp.

Referenced by handleConnection().

void * WebServer::handleConnection void * arg [static]
 

Definition at line 66 of file WebServer.cpp.

void * WebServer::run void * nothing [static]
 

Definition at line 33 of file WebServer.cpp.


Member Data Documentation

pthread_t WebServer::m_serverThreadId [private]
 

Definition at line 13 of file WebServer.h.


The documentation for this class was generated from the following files:
Generated at Thu Jul 11 13:32:00 2002 for Peekabooty by doxygen1.2.9 written by Dimitri van Heesch, © 1997-2001