#include <qwuihttpserver.h>
Public Member Functions | |
QwuiHttpServer (QObject *parent=NULL) | |
virtual | ~QwuiHttpServer () |
void | setPort (quint16 port) |
quint16 | port () const |
virtual bool | start () |
virtual QString | error () const |
Private Slots | |
void | incommingConnection (int socketDescriptor) |
Private Attributes | |
QwuiTcpServer * | m_server |
QString | m_lastError |
quint16 | m_port |
QwuiHttpServer::QwuiHttpServer | ( | QObject * | parent = NULL |
) |
QwuiHttpServer::~QwuiHttpServer | ( | ) | [virtual] |
void QwuiHttpServer::setPort | ( | quint16 | port | ) |
quint16 QwuiHttpServer::port | ( | ) | const |
bool QwuiHttpServer::start | ( | ) | [virtual] |
Implement this method to implement the server start.
Implements QwuiAbstractHttpServer.
QString QwuiHttpServer::error | ( | ) | const [virtual] |
Reimplemented from QwuiAbstractHttpServer.
void QwuiHttpServer::incommingConnection | ( | int | socketDescriptor | ) | [private, slot] |
QwuiTcpServer* QwuiHttpServer::m_server [private] |
Reimplemented from QwuiAbstractHttpServer.
QString QwuiHttpServer::m_lastError [private] |
quint16 QwuiHttpServer::m_port [private] |