#include <lllfsthread.h>
Collaboration diagram for LLLFSThread::Request:
Public Member Functions | |
Request (LLLFSThread *thread, handle_t handle, U32 priority, operation_t op, const LLString &filename, U8 *buffer, S32 offset, S32 numbytes, Responder *responder) | |
S32 | getBytes () |
S32 | getBytesRead () |
S32 | getOperation () |
U8 * | getBuffer () |
const LLString & | getFilename () |
bool | processRequest () |
void | finishRequest (bool completed) |
void | deleteRequest () |
Protected Member Functions | |
virtual | ~Request () |
Private Attributes | |
LLLFSThread * | mThread |
operation_t | mOperation |
LLString | mFileName |
U8 * | mBuffer |
S32 | mOffset |
S32 | mBytes |
S32 | mBytesRead |
LLPointer< Responder > | mResponder |
Definition at line 70 of file lllfsthread.h.
LLLFSThread::Request::~Request | ( | ) | [protected, virtual] |
Definition at line 153 of file lllfsthread.cpp.
LLLFSThread::Request::Request | ( | LLLFSThread * | thread, | |
handle_t | handle, | |||
U32 | priority, | |||
operation_t | op, | |||
const LLString & | filename, | |||
U8 * | buffer, | |||
S32 | offset, | |||
S32 | numbytes, | |||
Responder * | responder | |||
) |
void LLLFSThread::Request::deleteRequest | ( | ) |
Definition at line 167 of file lllfsthread.cpp.
References LLQueuedThread::QueuedRequest::deleteRequest(), llendl, llerrs, mResponder, NULL, and LLQueuedThread::STATUS_QUEUED.
void LLLFSThread::Request::finishRequest | ( | bool | completed | ) |
U8* LLLFSThread::Request::getBuffer | ( | ) | [inline] |
S32 LLLFSThread::Request::getBytes | ( | ) | [inline] |
S32 LLLFSThread::Request::getBytesRead | ( | ) | [inline] |
const LLString& LLLFSThread::Request::getFilename | ( | ) | [inline] |
S32 LLLFSThread::Request::getOperation | ( | ) | [inline] |
bool LLLFSThread::Request::processRequest | ( | ) |
Definition at line 181 of file lllfsthread.cpp.
References LLLFSThread::FILE_READ, LLLFSThread::FILE_WRITE, ll_apr_file_open(), ll_apr_file_read(), ll_apr_file_seek(), ll_apr_file_write(), LL_APR_RB, llassert, llassert_always, llendl, llerrs, llwarns, LLThread::mAPRPoolp, mBuffer, mBytes, mBytesRead, mFileName, mOffset, mOperation, mThread, and S32.
U8* LLLFSThread::Request::mBuffer [private] |
S32 LLLFSThread::Request::mBytes [private] |
S32 LLLFSThread::Request::mBytesRead [private] |
Definition at line 116 of file lllfsthread.h.
Referenced by finishRequest(), getBytesRead(), and processRequest().
LLString LLLFSThread::Request::mFileName [private] |
S32 LLLFSThread::Request::mOffset [private] |
operation_t LLLFSThread::Request::mOperation [private] |
LLPointer<Responder> LLLFSThread::Request::mResponder [private] |
LLLFSThread* LLLFSThread::Request::mThread [private] |