![]() |
QxOrm
1.5.0
C++ Object Relational Mapping library
|
qx::service::QxServer : server side to manage a thread pool of incoming connections (new request from client) More...
#include <QxServer.h>
Public Member Functions | |
| QxServer (QxThreadPool *pool) | |
| virtual | ~QxServer () |
Protected Member Functions | |
| virtual void | incomingConnection (qintptr socketDescriptor) |
| QxThread * | getAvailable () const |
Protected Attributes | |
| QxThreadPool * | m_pThreadPool |
| Parent thread pool to prevent from incoming connection. | |
| QMutex | m_mutex |
| Mutex => 'QxServer' is thread-safe. | |
qx::service::QxServer : server side to manage a thread pool of incoming connections (new request from client)
Click here to access to a tutorial to explain how to work with QxService module.
Definition at line 61 of file QxServer.h.
| qx::service::QxServer::QxServer | ( | QxThreadPool * | pool | ) | [inline] |
Definition at line 71 of file QxServer.h.
| virtual qx::service::QxServer::~QxServer | ( | ) | [inline, virtual] |
Definition at line 72 of file QxServer.h.
| QxThread* qx::service::QxServer::getAvailable | ( | ) | const [protected] |
| virtual void qx::service::QxServer::incomingConnection | ( | qintptr | socketDescriptor | ) | [protected, virtual] |
QMutex qx::service::QxServer::m_mutex [protected] |
Mutex => 'QxServer' is thread-safe.
Definition at line 67 of file QxServer.h.
QxThreadPool* qx::service::QxServer::m_pThreadPool [protected] |
Parent thread pool to prevent from incoming connection.
Definition at line 66 of file QxServer.h.