TreeFrogFramework  1.18
Public Member Functions | Static Public Member Functions | Protected Member Functions | List of all members
TActionWorker Class Reference

#include <tactionworker.h>

Inheritance diagram for TActionWorker:
Inheritance graph
[legend]
Collaboration diagram for TActionWorker:
Collaboration graph
[legend]

Public Member Functions

 TActionWorker (TEpollHttpSocket *socket, QObject *parent=0)
 
virtual ~TActionWorker ()
 

Static Public Member Functions

static int workerCount ()
 
static bool waitForAllDone (int msec)
 

Protected Member Functions

void run ()
 
qint64 writeResponse (THttpResponseHeader &header, QIODevice *body)
 
void closeHttpSocket ()
 

Detailed Description

The TActionWorker class provides a thread context.

Constructor & Destructor Documentation

TActionWorker::TActionWorker ( TEpollHttpSocket *  socket,
QObject *  parent = 0 
)
TActionWorker::~TActionWorker ( )
virtual

Member Function Documentation

void TActionWorker::closeHttpSocket ( )
protected
void TActionWorker::run ( )
protected
bool TActionWorker::waitForAllDone ( int  msec)
static
int TActionWorker::workerCount ( )
static
qint64 TActionWorker::writeResponse ( THttpResponseHeader header,
QIODevice *  body 
)
protected

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