LLTransferTargetFile Class Reference

#include <lltransfertargetfile.h>

Inheritance diagram for LLTransferTargetFile:

Inheritance graph
[legend]
Collaboration diagram for LLTransferTargetFile:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Static Public Member Functions

static void requestTransfer (LLTransferTargetChannel *channelp, const char *local_filename, const LLTransferSourceParams &source_params, LLTTFCompleteCallback callback)

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

LLTransferTargetParamsFile mParams
LLFILEmFP


Detailed Description

Definition at line 54 of file lltransfertargetfile.h.


Constructor & Destructor Documentation

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

Definition at line 40 of file lltransfertargetfile.cpp.

LLTransferTargetFile::~LLTransferTargetFile (  )  [virtual]

Definition at line 48 of file lltransfertargetfile.cpp.

References llendl, llerrs, mFP, and NULL.


Member Function Documentation

static void LLTransferTargetFile::requestTransfer ( LLTransferTargetChannel channelp,
const char *  local_filename,
const LLTransferSourceParams source_params,
LLTTFCompleteCallback  callback 
) [static]

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

Implements LLTransferTarget.

Definition at line 59 of file lltransfertargetfile.cpp.

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

Implements LLTransferTarget.

Definition at line 65 of file lltransfertargetfile.cpp.

References LLTransferTargetParams::getType(), llendl, llwarns, mParams, and LLTransferTarget::mType.

Here is the call graph for this function:

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

Implements LLTransferTarget.

Definition at line 76 of file lltransfertargetfile.cpp.

References LLFile::fopen(), llendl, LLTS_ERROR, LLTS_OK, llwarns, LLTransferTargetParamsFile::mFilename, mFP, mParams, and S32.

Here is the call graph for this function:

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


Member Data Documentation

Definition at line 70 of file lltransfertargetfile.h.

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

Definition at line 72 of file lltransfertargetfile.h.

Referenced by completionCallback(), dataCallback(), and ~LLTransferTargetFile().


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

Generated on Fri May 16 09:19:02 2008 for SecondLife by  doxygen 1.5.5