LLTransferSourceFile Class Reference

#include <lltransfersourcefile.h>

Inheritance diagram for LLTransferSourceFile:

Inheritance graph
[legend]
Collaboration diagram for LLTransferSourceFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 LLTransferSourceFile (const LLUUID &transfer_id, const F32 priority)
virtual ~LLTransferSourceFile ()

Protected Member Functions

void initTransfer ()
F32 updatePriority ()
LLTSCode dataCallback (const S32 packet_id, const S32 max_bytes, U8 **datap, S32 &returned_bytes, BOOL &delete_returned)
void completionCallback (const LLTSCode status)
virtual void packParams (LLDataPacker &dp) const
BOOL unpackParams (LLDataPacker &dp)

Protected Attributes

LLTransferSourceParamsFile mParams
LLFILEmFP


Detailed Description

Definition at line 56 of file lltransfersourcefile.h.


Constructor & Destructor Documentation

LLTransferSourceFile::LLTransferSourceFile ( const LLUUID transfer_id,
const F32  priority 
)

Definition at line 41 of file lltransfersourcefile.cpp.

LLTransferSourceFile::~LLTransferSourceFile (  )  [virtual]

Definition at line 47 of file lltransfersourcefile.cpp.

References llendl, llerrs, and mFP.


Member Function Documentation

void LLTransferSourceFile::initTransfer (  )  [protected, virtual]

F32 LLTransferSourceFile::updatePriority (  )  [protected, virtual]

Implements LLTransferSource.

Definition at line 85 of file lltransfersourcefile.cpp.

LLTSCode LLTransferSourceFile::dataCallback ( const S32  packet_id,
const S32  max_bytes,
U8 **  datap,
S32 returned_bytes,
BOOL delete_returned 
) [protected, virtual]

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

Implements LLTransferSource.

Definition at line 126 of file lltransfersourcefile.cpp.

References LLTransferSourceParamsFile::getDeleteOnCompletion(), LLTransferSourceParamsFile::getFilename(), mFP, mParams, NULL, and LLFile::remove().

Here is the call graph for this function:

void LLTransferSourceFile::packParams ( LLDataPacker dp  )  const [protected, virtual]

Implements LLTransferSource.

Definition at line 143 of file lltransfersourcefile.cpp.

References mParams, and LLTransferSourceParamsFile::packParams().

Here is the call graph for this function:

BOOL LLTransferSourceFile::unpackParams ( LLDataPacker dp  )  [protected, virtual]

Implements LLTransferSource.

Definition at line 149 of file lltransfersourcefile.cpp.

References mParams, and LLTransferSourceParamsFile::unpackParams().

Here is the call graph for this function:


Member Data Documentation

Definition at line 76 of file lltransfersourcefile.h.

Referenced by completionCallback(), initTransfer(), packParams(), and unpackParams().


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

Generated on Fri May 16 09:18:50 2008 for SecondLife by  doxygen 1.5.5