LLTransferTargetVFile Class Reference

#include <lltransfertargetvfile.h>

Inheritance diagram for LLTransferTargetVFile:

Inheritance graph
[legend]
Collaboration diagram for LLTransferTargetVFile:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 LLTransferTargetVFile (const LLUUID &uuid, LLTransferSourceType src_type)
virtual ~LLTransferTargetVFile ()

Static Public Member Functions

static void updateQueue (bool shutdown=false)

Protected Member Functions

virtual bool unpackParams (LLDataPacker &dp)
void applyParams (const LLTransferTargetParams &params)
LLTSCode dataCallback (const S32 packet_id, U8 *in_datap, const S32 in_size)
void completionCallback (const LLTSCode status)

Protected Attributes

LLTransferTargetParamsVFile mParams
BOOL mNeedsCreate
LLUUID mTempID

Detailed Description

Definition at line 74 of file lltransfertargetvfile.h.


Constructor & Destructor Documentation

LLTransferTargetVFile::LLTransferTargetVFile ( const LLUUID uuid,
LLTransferSourceType  src_type 
)

Definition at line 94 of file lltransfertargetvfile.cpp.

References LLUUID::generate(), and mTempID.

LLTransferTargetVFile::~LLTransferTargetVFile (  )  [virtual]

Definition at line 104 of file lltransfertargetvfile.cpp.


Member Function Documentation

void LLTransferTargetVFile::applyParams ( const LLTransferTargetParams params  )  [protected, virtual]

Implements LLTransferTarget.

Definition at line 119 of file lltransfertargetvfile.cpp.

References llendl, llwarns, mParams, LLTransferTarget::mType, and params.

void LLTransferTargetVFile::completionCallback ( const LLTSCode  status  )  [protected, virtual]

Implements LLTransferTarget.

Definition at line 157 of file lltransfertargetvfile.cpp.

References LLVFile::APPEND, gAssetStorage, LLTransferTargetParamsVFile::getAssetID(), LLTransferTargetParamsVFile::getAssetType(), LL_ERR_ASSET_REQUEST_FAILED, LL_ERR_ASSET_REQUEST_NOT_IN_DATABASE, LL_ERR_INSUFFICIENT_PERMISSIONS, LL_ERR_NOERR, LL_EXSTAT_NONE, lldebugs, llendl, llerrs, LLTS_ABORT, LLTS_DONE, LLTS_ERROR, LLTS_INSUFFICIENT_PERMISSIONS, LLTS_UNKNOWN_SOURCE, llwarns, LLAssetType::lookup(), LLTransferTargetParamsVFile::mCompleteCallback, mNeedsCreate, mParams, mTempID, LLTransferTargetParamsVFile::mUserDatap, LLAssetStorage::mVFS, S32, and LLVFile::WRITE.

LLTSCode LLTransferTargetVFile::dataCallback ( const S32  packet_id,
U8 in_datap,
const S32  in_size 
) [protected, virtual]

Implements LLTransferTarget.

Definition at line 131 of file lltransfertargetvfile.cpp.

References LLVFile::APPEND, FALSE, gAssetStorage, LLTransferTargetParamsVFile::getAssetType(), llendl, LLTS_ERROR, LLTS_OK, llwarns, mNeedsCreate, mParams, LLTransferTarget::mSize, mTempID, and LLAssetStorage::mVFS.

bool LLTransferTargetVFile::unpackParams ( LLDataPacker dp  )  [protected, virtual]

Implements LLTransferTarget.

Definition at line 110 of file lltransfertargetvfile.cpp.

References LLTST_SIM_INV_ITEM, mParams, LLTransferTarget::mSourceType, and LLTransferTargetParamsVFile::unpackParams().

void LLTransferTargetVFile::updateQueue ( bool  shutdown = false  )  [static]

Definition at line 41 of file lltransfertargetvfile.cpp.

Referenced by LLMessageSystem::checkMessages(), and end_messaging_system().


Member Data Documentation

BOOL LLTransferTargetVFile::mNeedsCreate [protected]

Definition at line 95 of file lltransfertargetvfile.h.

Referenced by completionCallback(), and dataCallback().

LLTransferTargetParamsVFile LLTransferTargetVFile::mParams [protected]

Definition at line 93 of file lltransfertargetvfile.h.

Referenced by applyParams(), completionCallback(), dataCallback(), and unpackParams().

LLUUID LLTransferTargetVFile::mTempID [protected]

Definition at line 96 of file lltransfertargetvfile.h.

Referenced by completionCallback(), dataCallback(), and LLTransferTargetVFile().


The documentation for this class was generated from the following files:
Generated on Thu Jul 1 06:11:54 2010 for Second Life Viewer by  doxygen 1.4.7