QxOrm 1.4.9
C++ Object Relational Mapping library
Loading...
Searching...
No Matches

qx::service::QxServer : server side to manage a thread pool of incoming connections (new request from client) More...

#include <QxServer.h>

Inheritance diagram for qx::service::QxServer:

Public Member Functions

 QxServer (QxThreadPool *pool)
 
virtual ~QxServer ()
 

Protected Member Functions

virtual void incomingConnection (qintptr socketDescriptor)
 
QxThreadgetAvailable () const
 

Protected Attributes

QxThreadPoolm_pThreadPool
 Parent thread pool to prevent from incoming connection.
 
QMutex m_mutex
 Mutex => 'QxServer' is thread-safe.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ QxServer()

qx::service::QxServer::QxServer ( QxThreadPool * pool)
inline

Definition at line 71 of file QxServer.h.

◆ ~QxServer()

virtual qx::service::QxServer::~QxServer ( )
inlinevirtual

Definition at line 72 of file QxServer.h.

Member Function Documentation

◆ getAvailable()

QxThread * qx::service::QxServer::getAvailable ( ) const
protected

◆ incomingConnection()

virtual void qx::service::QxServer::incomingConnection ( qintptr socketDescriptor)
protectedvirtual

Member Data Documentation

◆ m_mutex

QMutex qx::service::QxServer::m_mutex
protected

Mutex => 'QxServer' is thread-safe.

Definition at line 67 of file QxServer.h.

◆ m_pThreadPool

QxThreadPool* qx::service::QxServer::m_pThreadPool
protected

Parent thread pool to prevent from incoming connection.

Definition at line 66 of file QxServer.h.


The documentation for this class was generated from the following file: