Public Types | |
enum | RETURN_CODE { DELETE_CONNECTION = 0, KEEP_CONNECTION = 1, INCOMPLETE_REQUEST = 2, INCOMPLETE_REQUEST_NO_WAIT = 3 } |
Public Member Functions | |
void | clean () |
ClientsThread () | |
MemBuf * | getBuffer () |
MemBuf * | getBuffer2 () |
int | getTimeout () |
int | isParsing () |
int | isStatic () |
int | isToDestroy () |
void | setStatic (int) |
void | setTimeout (int) |
void | setToDestroy (int) |
void | stop () |
~ClientsThread () | |
Public Attributes | |
ClientsThread * | next |
Static Public Attributes | |
const u_long | ID_OFFSET = 200 |
Private Member Functions | |
int | controlConnections () |
int | isRunning () |
int | isStopped () |
Private Attributes | |
MemBuf | buffer |
MemBuf | buffer2 |
u_long | buffersize |
u_long | buffersize2 |
ControlProtocol * | controlProtocolParser |
int | err |
Http * | httpParser |
Https * | httpsParser |
u_long | id |
int | initialized |
u_long | nBytesToRead |
int | parsing |
int | staticThread |
int | threadIsRunning |
int | threadIsStopped |
int | timeout |
int | toDestroy |
Friends | |
class | Server |
|
|
Construct the object. |
|
Destroy the ClientsThread object. |
|
|
|
|
|
|
|
|
|
Get the timeout value. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Set the timeout value for the thread.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|