#include <KjServerThread.h>
Inheritance diagram for KjServerThread:
Public Member Functions | |
KjServerThread (char *_strConn, const char *_strCertFile, const char *_strKeyFile) | |
~KjServerThread () | |
int | GetNumClients () |
Get number of clients. | |
KjClientConn * | GetClient (const int _iClientId) |
Get client from client array. | |
int | Start () |
Start server application. | |
Private Member Functions | |
void | CreateNewThread () |
Create new thread for new client connection. | |
Static Private Member Functions | |
static void * | NewThread (void *_pArg) |
Private Attributes | |
KjSslServer * | m_pServer |
SSL server connection. | |
KjSignal * | m_pSignal |
Check signals. | |
TClientArray | m_tClientArray |
Client array. | |
bool | m_bIsNewClientConn |
Is new client connected ? | |
pthread_t * | m_pThread |
Pointer to some thread. | |
void * | ms_pObject |
Pointer to some void. |
Definition at line 70 of file KjServerThread.h.
|
Definition at line 18 of file KjServerThread.cpp. References m_bIsNewClientConn, m_pServer, m_pSignal, and m_pThread. |
|
Definition at line 27 of file KjServerThread.cpp. |
|
Create new thread for new client connection.
Definition at line 55 of file KjServerThread.cpp. References KjClientConn::KjClientConn(), m_pServer, m_tClientArray, and NewThread(). Referenced by Start(). |
|
Get client from client array.
Definition at line 75 of file KjServerThread.cpp. References m_tClientArray. |
|
Get number of clients.
Definition at line 69 of file KjServerThread.cpp. References m_tClientArray. |
|
Definition at line 41 of file KjServerThread.cpp. References KjClientConn::NewClient(). Referenced by CreateNewThread(). |
|
Start server application.
Definition at line 82 of file KjServerThread.cpp. References CreateNewThread(), m_pServer, and m_pSignal. |
|
Is new client connected ?
Definition at line 75 of file KjServerThread.h. Referenced by KjServerThread(). |
|
SSL server connection.
Definition at line 72 of file KjServerThread.h. Referenced by CreateNewThread(), KjServerThread(), Start(), and ~KjServerThread(). |
|
Check signals.
Definition at line 73 of file KjServerThread.h. Referenced by KjServerThread(), Start(), and ~KjServerThread(). |
|
Pointer to some thread.
Definition at line 76 of file KjServerThread.h. Referenced by KjServerThread(). |
|
Client array.
Definition at line 74 of file KjServerThread.h. Referenced by CreateNewThread(), GetClient(), and GetNumClients(). |
|
Pointer to some void.
Definition at line 79 of file KjServerThread.h. |