fhq-server  v0.2.33
Documentation for fhq-server. FreeHackQuest is an open source platform for competitions of computer security.
Public Member Functions | Private Member Functions | Private Attributes | List of all members
WsjcppLightWebHttpThreadWorker Class Reference

#include <wsjcpp_light_web_server.h>

Collaboration diagram for WsjcppLightWebHttpThreadWorker:
Collaboration graph
[legend]

Public Member Functions

 WsjcppLightWebHttpThreadWorker (const std::string &sName, WsjcppLightWebDequeHttpRequests *pDeque, std::vector< WsjcppLightWebHttpHandlerBase *> *pVHandlers)
 
void start ()
 
void stop ()
 
void run ()
 

Private Member Functions

bool handle (WsjcppLightWebHttpRequest *pRequest)
 

Private Attributes

std::string TAG
 
std::string m_sName
 
WsjcppLightWebDequeHttpRequestsm_pDeque
 
std::vector< WsjcppLightWebHttpHandlerBase * > * m_pVHandlers
 
bool m_bStop
 
bool m_bStopped
 
pthread_t m_serverThread
 

Constructor & Destructor Documentation

◆ WsjcppLightWebHttpThreadWorker()

WsjcppLightWebHttpThreadWorker::WsjcppLightWebHttpThreadWorker ( const std::string &  sName,
WsjcppLightWebDequeHttpRequests pDeque,
std::vector< WsjcppLightWebHttpHandlerBase *> *  pVHandlers 
)

Member Function Documentation

◆ handle()

bool WsjcppLightWebHttpThreadWorker::handle ( WsjcppLightWebHttpRequest pRequest)
private

◆ run()

void WsjcppLightWebHttpThreadWorker::run ( )

◆ start()

void WsjcppLightWebHttpThreadWorker::start ( )

◆ stop()

void WsjcppLightWebHttpThreadWorker::stop ( )

Member Data Documentation

◆ m_bStop

bool WsjcppLightWebHttpThreadWorker::m_bStop
private

◆ m_bStopped

bool WsjcppLightWebHttpThreadWorker::m_bStopped
private

◆ m_pDeque

WsjcppLightWebDequeHttpRequests* WsjcppLightWebHttpThreadWorker::m_pDeque
private

◆ m_pVHandlers

std::vector<WsjcppLightWebHttpHandlerBase *>* WsjcppLightWebHttpThreadWorker::m_pVHandlers
private

◆ m_serverThread

pthread_t WsjcppLightWebHttpThreadWorker::m_serverThread
private

◆ m_sName

std::string WsjcppLightWebHttpThreadWorker::m_sName
private

◆ TAG

std::string WsjcppLightWebHttpThreadWorker::TAG
private

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