Public Types | |
| enum | RETURN_CODE { DELETE_CONNECTION = 0, KEEP_CONNECTION = 1, INCOMPLETE_REQUEST = 2, INCOMPLETE_REQUEST_NO_WAIT = 3 } |
Public Member Functions | |
| ClientsThread () | |
| MemBuf * | getBuffer () |
| MemBuf * | getBuffer2 () |
| ThreadID | getThreadId () |
| int | getTimeout () |
| int | isBusy () |
| int | isStatic () |
| int | isToDestroy () |
| int | join () |
| int | run () |
| void | setStatic (int) |
| void | setTimeout (int) |
| void | setToDestroy (int) |
| void | stop () |
| ~ClientsThread () | |
Private Member Functions | |
| int | controlConnections () |
| int | isRunning () |
| int | isStopped () |
Private Attributes | |
| MemBuf | buffer |
| MemBuf | buffer2 |
| u_long | buffersize |
| u_long | buffersize2 |
| int | busy |
| ControlProtocol * | controlProtocolParser |
| Ftp * | ftpParser |
| HttpProtocol * | httpParser |
| HttpsProtocol * | httpsParser |
| u_long | id |
| int | initialized |
| u_long | nBytesToRead |
| int | staticThread |
| int | threadIsRunning |
| int | threadIsStopped |
| ThreadID | tid |
| 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.3.9.1