BrisaCore::BrisaWebserver Class Reference

The BrisaWebserver class is a web server implementation. More...

#include <brisawebserver.h>

List of all members.

Public Member Functions

 BrisaWebserver (const QHostAddress &host, quint16 port)
 ~BrisaWebserver ()
void publishFile (QString path, QString filePath)
void addService (QString path, QxtWebServiceDirectory *service)

Protected Member Functions

void incomingRequest (quint32 requestID, const QHttpRequestHeader &header, QxtWebContent *deviceContent)
int newSession ()

Detailed Description

The BrisaWebserver class is a web server implementation.

BrisaWebServer implements a Web Server using libQxt.

Definition at line 95 of file brisawebserver.h.

Constructor & Destructor Documentation

BrisaWebserver::BrisaWebserver ( const QHostAddress &  host,
quint16  port 

Constructor for BrisaWebServer

host empty
port empty

Definition at line 105 of file brisawebserver.cpp.

BrisaWebserver::~BrisaWebserver (  ) 

Destructor for BrisaWebServer

Definition at line 115 of file brisawebserver.cpp.

Member Function Documentation

void BrisaWebserver::addService ( QString  path,
QxtWebServiceDirectory *  service 

Adds a service to the web server. The service url path will be added to the root of the server.

path empty
service empty

Definition at line 123 of file brisawebserver.cpp.

void BrisaWebserver::incomingRequest ( quint32  requestID,
const QHttpRequestHeader &  header,
QxtWebContent *  deviceContent 
) [protected]

This method dumps request information to the screen.

requestID empty
header empty
deviceContent empty

Definition at line 127 of file brisawebserver.cpp.

int BrisaWebserver::newSession (  )  [protected]

Creates a new session and returns the session number.

Definition at line 119 of file brisawebserver.cpp.

void BrisaWebserver::publishFile ( QString  path,
QString  filePath 

Publishes a file to the root.

publishPath empty
filePath empty

Definition at line 135 of file brisawebserver.cpp.

The documentation for this class was generated from the following files:
Generated on Thu Sep 30 14:04:30 2010 for Brisa by  doxygen 1.6.3